donnytree
Forum Replies Created
-
Forum: Plugins
In reply to: [Enable Media Replace] Invalid argument supplied for foreach()I just got the same warning message, I am on WordPress 3.6 and it’s the first time I’ve seen the message.
I replaced a small image file with a much larger one. It still replaced the file, it just threw this error.
When I resized the image and replaced it again, no error was thrown.
Forum: Fixing WordPress
In reply to: Exclude image titles from search resultsThanks cornhustlah! Very simple solution, but I am afraid I can’t get it to work for me. I am using the following code:
query_posts($query_string . '&post_type=post&posts_per_page=-1'); $results_count = $wp_query->post_count;
So the count would be off I think if I used your method. I also tried to enter your above code in my while loop, but it didn’t work?
Thanks!
DonnaForum: Fixing WordPress
In reply to: Exclude image titles from search resultsThanks for the input Krishna.
However I would still like to figure out a way to do this if anyone has any advice. Thanks!
Forum: Fixing WordPress
In reply to: Exclude image titles from search resultsBecause the image title does not necessarily have anything to do with the search. For instance, in my above example, I may label an image I got from Wikipedia with the source name, but that doesn’t mean I want it in search results if someone is looking for an article about Wikipedia. It is for an article-based research website so it is the nature of the information I am trying to deliver.
Forum: Fixing WordPress
In reply to: custom search results affected by _REQUEST setA colleague gave me the following advice, which helped, so I figured I would post it in case it helps anyone else:
“To answer definitively, I would need to see a bit more code.
Nonetheless, WordPress does override $_REQUEST, so depending on where
this code is placed, it may be overwritten. So assuming that the
parameter is being passed in the URL, I would tryif( !isset($_GET['sorting'])) { $_GET['sorting'] = "views"; }
”
Forum: Fixing WordPress
In reply to: form padding bug with 3.4.1OK so I had this happen before with an older version upgrade and this worked:
function my_function_admin_bar(){ return false; }
add_filter( ‘show_admin_bar’ , ‘my_function_admin_bar’);But that didn’t work for me this time but this did:
If it’s acting up on your site, open your user profile (Users > Your Profile) and uncheck the ‘Show on Front’ option to make it disappear.From https://www.ads-software.com/support/topic/31-update-causing-28px-top-spacing-in-html-body
Hope one of those works for you!
Forum: Installing WordPress
In reply to: updated to WP 3.3.1 and post links stopped workingReally?! I don’t know what else it could be. I updated Akismet and W3 Total Cache and the site is working fine with those updates. I had also updated AddToAny but don’t have it currently updated. Other than that, I don’t think I did anything but upgrade the WordPress version. Oh and I emptied the page cache…
Forum: Fixing WordPress
In reply to: image gallery optionsspan, thanks again for the feedback. i don’t like how when you click on an image, another larger image opens up and then you scroll from there. I ended up purchasing SoundSlide Plus, which pretty much is what I was looking for, I was just hoping to have a little more flexibility, check out the slideshow here if you want. Thanks for all the feeback though, appreciate it!
Forum: Fixing WordPress
In reply to: image gallery optionsspan, thanks for the suggestions. I’ve already tried all those with the NextGen Gallery, but they are still a little too much. I don’t want anything that pops open a new window. I just want it in frame with a forward and back arrow, caption, etc. I wonder if one can code something simple like this themselves in html5?
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] Slideshow navigation bar doesn't fitThanks! I noticed that too, but it just seems like there must be another way to overflow the text on a new line or something? Otherwise, my descriptions are not much of descriptions…but I guess that will have to do for now. Thanks again.
Forum: Fixing WordPress
In reply to: current_page_parent displaying subnav of other items at 3rd levelI tried using:
#left li.page_item ul {display:none;} #left ul li.current_page_item ul, #left ul li.current_page_parent ul {display:block;}
But it seems I can either show all of the sub-subnavigation menus for the current page item,
list
or I can only display the sub-subnavigation of the current page item, but the entire side menu reloads. I’ve tried all kinds of plugins but seem to have the same problem every time.Any thoughts?
Forum: Fixing WordPress
In reply to: 3rd Level Page NavigationDid you ever find a solution? I am having almost the same problem with my side navigation, except, the 3rd level seems to work ok, e.g., all of the 3rd level (and lower) navigation disappears except for the active parent, as desired. It just seems to be the 2nd level that shows all sublevels for all items, even non-active ones.
I am using this before the loop:
$ancestors = get_post_ancestors($post->ID); if( empty($post->post_parent) ) { $parent = $post->ID; } else { $parent = end($ancestors); }
and
wp_list_pages("title_li=&child_of=$parent&depth=0" );
in the loop.Forum: Fixing WordPress
In reply to: side navigation brokeScratch that Ron, sorry. I am having a different problem than you but I am not sure what’s going on with yours…
Forum: Fixing WordPress
In reply to: current_page_parent displaying subnav of other items at 3rd levelRon, check the other feed for a response to your problem, which is quite different than the one I am having.
Someone suggested it might be my version of PHP (5.2.4-2), but I am not sure what to do to fix it? Or what version to change it back to…?
Thanks,
DonnaForum: Fixing WordPress
In reply to: side navigation brokeHi Ron,
This isn’t the same problem that I am talking about. I think yours is happening because you are not setting “title_li=” to anything. Check here for information on how to define this element: https://codex.www.ads-software.com/Function_Reference/wp_list_pagesDonna