B & L Marketing
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Media Library shows empty, even if it's not.I had this issue also. After I upgraded to 3.7.1 everything works fine.
Forum: Fixing WordPress
In reply to: Add Widget IDs with Dynamic SidebarI see. Thanks.
Forum: Fixing WordPress
In reply to: Add Widget IDs with Dynamic SidebarThanks, but that’s the same information I provided in my original post. The sidebar.php does not use the register_sidebar() function explicitly, only through the dynamic_sidebar() function. Therefore, I am unable to set the before_widget element as I could with the register_sidebar() function.
My question is I have to rebuild the sidebars with the register_sidebar() function so I can create unique HTML IDs for my widgets.
Forum: Fixing WordPress
In reply to: Add Widget IDs with Dynamic SidebarI looked. I can’t find it anywhere. It’s a free theme from WPZoom:
Forum: Plugins
In reply to: [Wp-Thumbie - Related Posts with thumbnails for WordPress] Works on 3.5.1Here is the code I changed to line 87-104 of wp-thumbie.php to pull featured images instead of random image:
foreach($searches as $search) { $categorys = get_the_category($search->ID); //Fetch categories of the plugin $featured_image = wp_get_attachment_image_src( get_post_thumbnail_id( $search->ID ), 'single-post-thumbnail' ); $p_in_c = false; // Variable to check if post exists in a particular category $title = trim(stripslashes($search->post_title)); if ($crp_settings[display_post_text]) { $post_text = strip_tags($search->post_content); //$post_text = wp_trim_excerpt($post_text); // Get Post Ecerpt $post_text = truncate($post_text,$crp_settings[post_text_char]); // Get Post Excerpt } $image = ""; // Null Variable to verify for no image found case preg_match_all( '|<img.*?src=[\'"](.*?)[\'"].*?>|i', $search->post_content, $matches ); if ( isset( $matches ) ) $image = $featured_image[0]; if (strlen(trim($image))==0) { $image = $pluginDir.'images/default.png' ; // when no image found in post }
flipside,
This code did not work for me. Have you tested with WordPress 3.5? Related posts are still displaying in list format without featured image (thumbnail).
Forum: Plugins
In reply to: [WP-Paginate] Wp_paginate problem after update wordpress 3.5Try this:
$posts = query_posts($query_string . '&orderby=title&order=asc&posts_per_page=-1');
You could also try this:
$posts = query_posts($query_string . '&orderby=title&order=asc&posts_per_page=-1');
I solved this by not using query_posts() at all. Simply use the regular Loop ( if have_posts(), while have_posts(), the_post()) and use the WP Paginate plugin. I then set the number of posts on each category page using the Settings->Reading menu.
Forum: Plugins
In reply to: WP Autoresponder & website registration-=bump=-
When you crop an image in the Media Library, you are not altering the original file, just creating a cropped instance of it. What I found is if you are trying to insert a cropped image into an area larger than the cropped area size, it will revert to the larger/original image and not the cropped version.
For example, if you are using the image to fill a DIV that is 250px wide and you have cropped the image to 200px wide, WordPress will somehow use the larger/original image to fill the 250 width.
I use
<?php the_post_thumbnail('large'); ?>
and then use CSS to limit the size of the image I want. It loads the larger files and increases download time, but I needed the images to be displayed exactly as I cropped them, so it was a trade-off. I hope that helps.Forum: Fixing WordPress
In reply to: How to show navigation menu with parent and only one level childrenI would recommend generating the child pages as items in a list and use CSS to hide/show the sub-menu items on rollover.
Forum: Plugins
In reply to: [Print, PDF, Email by PrintFriendly] Print/PDF Without Refresh!I see. Well, back to the drawing board. Thanks!
Forum: Themes and Templates
In reply to: Change Stylesheet URI on Window ResizeFigured it out. The link to the javascript file must come after the stylesheets and in the body. I’m no WordPress expert, but I think it has something to do with how the theme files are loaded.
Also, the URI to the stylesheet must be absolute.
Plugin doesn’t work for me at all in 3.1. Must be a “local problem,” maybe something in the water?