sem101
Forum Replies Created
-
Forum: Plugins
In reply to: [Contextual Related Posts] Are there any Filters or Action Hooks?Thanks Ajay, I almost have it work. I tried this code quickly!
Problems:
1. $output displays above content
2. how get $title ?
3. It says “No related posts found” (see #1)Can you look at my code please?
function my_function() { echo ':-)'; } function hook_crp_before_list_item( $before_list_item, $result, $output = null ) { $before_list_item = my_function(); $output .= $before_list_item; $output .= '<li><a href="' . get_permalink( $result->ID ) . '">' . $result->ID . '</a></li>'; echo $output; } add_filter( 'crp_before_list_item', 'hook_crp_before_list_item', 2, 2 );
Forum: Fixing WordPress
In reply to: WP 3.9: Warning: strpos() expects parameter 1 to be stringI’m getting this warning in 3.9.1. I have disabled all warnings for now. But what is the fix for shortcodes? The warning shows up on ANY page I have a shortcode on.
PHP is 5.4 cannnot be changed.
Do not not edit core php files.
Forum: Networking WordPress
In reply to: Network site users.php shows 4 admins but 3 are registered in DBI found the culprit! Co-Authors Plus plugin creates an invisible Administrator when activated. I installed/uninstalled plugin and I can confirm a new Admin shows in users.php but not in the users list.
Please confirm. WTF?
Forum: Plugins
In reply to: [Co-Authors Plus] How to use WP_Query to get co-authors and args?Can anyone please share a way to get a list of co-authors with WP_Query? Thanks in advance :-/
Forum: Plugins
In reply to: [WP RSS Multi Importer] Custom Post Types?Cool, thanks will give it a try.
$67??? Seriously?
Forum: Plugins
In reply to: [Co-Authors Plus] Get Posts of Author@grmedsite – I’m also looking for an answer on this. I’ve run multiple WP_Query’s but can’t seem to retrieve Guest Authors.
Forum: Plugins
In reply to: [Related Posts for WordPress] PHP Warning – Invalid Argument.Also getting the same invalid argument:
Warning: Invalid argument supplied for foreach() in /wp-content/plugins/microkids-related-posts/microkids-related-posts.php on line 304
Does the developer support this plugin or not?
Forum: Plugins
In reply to: [Contact Form 7] Addic Post/Page title to Contact form 7Hi, how can you get page title when cf7 is inside widget?
thanks
Forum: Hacks
In reply to: What's best practice for theme/plugin settings API for new dev?Thanks
Forum: Hacks
In reply to: What's best practice for theme/plugin settings API for new dev?Thanks. I’ve read that great post ?? I should’ve included in my post that I’ve read a TON of these articles. But where I’m struggling is I have 3 areas to implement any/all settings.
I’m trying to find best practice moving forward, where do I put these settings? I have A, B, C above ALL working and ready to go. But from a UX standpoint, I feel having split settings in 3 areas is not good practice.
Further thoughts?
Thanks again!
Forum: Plugins
In reply to: [OptionTree] Option Tree errorYup, it was the Super Skelton theme ??
Not really. We just want the Buddypress admin bar to show for logged-OUT users and show, “Anonymous,” if they are NOT logged in–EXACTLY LIKE ON THE BUDDYPRESS SITE. Guess this isn’t clear.
Will try to resolve ourselves, but thanks for your responses.
Forum: Plugins
In reply to: [Theme My Login] too many redirect loopsYou need make an uninstall function that completely removes this plugin. We are now spending HOURS removing it and getting back into our site. Amazing.
Whoever downloads this plugin and needs to remove it asap: Ron mentioned some good stuff above, however.
Forum: Plugins
In reply to: [Theme My Login] too many redirect loopsThis plugin is BROKEN and now we can’t login to the site! Please fix this! I can’t even login to delete the plugin.