Joms
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Adding border around Primary WidgetIt could be because the width of the border is too thick. Try using 1px first instead of 16px. You can also try to adjust the #container width.
Forum: Fixing WordPress
In reply to: Adding border around Primary WidgetIs this your theme? http://demo.wpweaver.info/
If yes, open
wp-content/uploads/weaver-subthemes/style-weaver.csssearch for #primary and add your
border-left:16px solid yellow;like the code above.Also the above code won’t work because you have a closing
</style>tag in the beginning. It should be:<style> #branding img{margin-top: 0px;} #wrapper {margin-top: 0px;} #primary {border-left:16px solid yellow;} </style>Forum: Fixing WordPress
In reply to: Blank page after loginIn wp-config.php set WP_DEBUG to true. The blank page will then show the errors which will help you solve your problem. Or you could try disabling your plugins one by one.
Forum: Fixing WordPress
In reply to: Getting image thumb from the postI don’t think there is a WordPress function for that but I use this function to get the first image from the post content:
function get_first_image() { global $post; $first_image = ''; ob_start(); ob_end_clean(); $output = preg_match_all('/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $post->post_content, $matches); $first_image = $matches[1][0]; if(empty($first_image)){ //return false if no image is found $first_image = false; } return $first_image; }Forum: Fixing WordPress
In reply to: Page 1 is the same as Page 2 (loop problem in theme)Try explicitly adding the ‘paged’ variable like this:
global $query_string; $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts($query_string . '&cat=-20' . '&paged=$paged');Forum: Fixing WordPress
In reply to: iframeYes maybe you are pasting the code on the Visual tab of the editor. Paste it on the HTML tab. Tabs are located at the upper right corner of the content editor.
Forum: Fixing WordPress
In reply to: Widgets are showing at the bottom of page and not on the sidebarIt could be that there is an extra closing div tag
</div>on your widgets. You could look for it on each widget or try removing them one by one to determine which one is causing the bug. I suggest starting with the Amazon widget.Forum: Fixing WordPress
In reply to: Adding border around Primary WidgetI am not familiar with the Weaver theme so maybe you can try asking on their forum if they have one. I’m sure someone there will be willing to help you. Or wait for someone here who knows the theme, because without looking at your website I won’t be of much help. Goodluck! 🙂
Forum: Fixing WordPress
In reply to: Widgets are showing at the bottom of page and not on the sidebarCould you tell us which widgets are supposed to be inside the sidebar?
Forum: Fixing WordPress
In reply to: Adding border around Primary WidgetYou could use faux columns technique for the border: http://www.alistapart.com/articles/fauxcolumns/
(can’t believe I can still reference to that article after 7 years)
Forum: Themes and Templates
In reply to: Category Template for Custom Post TypeNot sure if these will work:
category-{slug}.php (Note: available with Version 2.9)
category-{ID}.phpOr you can just use conditional statements on category.php
Forum: Plugins
In reply to: [WP Super Cache] Blank Front Page (when logged in) with SupercacheHi,
It could be that your caching plugin is disabled for admins and/or registered users.
To help identify the problem try setting WP_DEBUG to TRUE, found in wp-config.php.
Forum: Themes and Templates
In reply to: how can I have "underline" effects on my title links? tnxHi, I think he just wants you to add it. You can add it below the code you posted above.
Forum: Fixing WordPress
In reply to: WTF is with my image?If you can’t find any other solution you can just remove the transparency and make it a blue background, same as the header background color.
Forum: Fixing WordPress
In reply to: Error in Media LibraryMost probably CURL is not supported on your host.
If this is with a hosting company, you will need to have them install/enable it.
If this is a Windows based system, CURL can be enabled by uncommenting the curl extension line in the php.ini file – extension=php_curl.dll and restarting the web server.
If this is Unix/Linux, PHP must be compiled with CURL support and the libcurl library must be installed.