Ahni
Forum Replies Created
-
You can see the list of tags printed at the bottom–just above the row of articles (which is showing my original related posts by category)
https://icmagazine.org/evicted-tribe-re-occupies-their-homes-inside-famous-tiger-reserve/I’m not sure what you mean, but when I printed the tags for a particular post, it returned 8 tags
Done. It’s returning all tags associated with the post
yep I use the default tags and custom taxonomies
Thank you so much @dcooney. Unfortunately, this code isn’t returning anything. Is there something I’m missing?
Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] Custom taxonomy pages don’t workHey,
I think I just figured it out using this function to rewrite the custom taxonomy slug:
function add_custom_rewrite_rule() { // First, try to load up the rewrite rules. We do this just in case // the default permalink structure is being used. if( ($current_rules = get_option('rewrite_rules')) ) { // Next, iterate through each custom rule adding a new rule // that replaces 'movies' with 'films' and give it a higher // priority than the existing rule. foreach($current_rules as $key => $val) { if(strpos($key, 'peoples') !== false) { add_rewrite_rule(str_ireplace('peoples', 'indigenous-peoples', $key), $val, 'top'); } // end if } // end foreach } // end if/else // ...and we flush the rules flush_rewrite_rules(); } // end add_custom_rewrite_rule add_action('init', 'add_custom_rewrite_rule');I tested it on a development version of the site and it worked perfectly.
Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] Custom taxonomy pages don’t workHi @marqas,
Thanks for getting back so quick! I’m not sure what you mean by the base removal, but here’s the function I’m using for the taxonomy:
add_action( 'init', 'create_taxonomies', 0 ); function create_taxonomies() { $args = array( 'hierarchical' => false, 'show_ui' => true, 'show_admin_column' => true, 'update_count_callback' => '_update_post_term_count', 'query_var' => true, 'rewrite' => array( 'slug' => 'indigenous-peoples', 'with_front' => true,), 'public' => true, 'show_ui' => true, 'show_in_nav_menus' =>true,); register_taxonomy( 'peoples', 'post', $args );}I don’t know my way around code all that well, but I think it has something to do with the fact that I’m rewriting the slug?
Honestly, I’m thinking about following Dutchman’s lead and not updating Wordfence so I can keep Falcon Cache. I’ve also tried several other caching plugins and Falcon Cache outperforms them all. I don’t want to lose it!
Nice work guys; it’s working awesome.
Forum: Plugins
In reply to: [Automatic Internal Links] I have installed it. Then?It’s not working for me either. The callout blocks aren’t showing up anywhere.
Forum: Plugins
In reply to: [Speed Booster Pack ⚡ PageSpeed Optimization Suite] Broken in WP 4.3I’ll confirmed as well. I can’t see any options now http://pasteboard.co/9PQEMO4.jpg
Forum: Plugins
In reply to: [Idea Factory] need help adding field to modal formAny chance I could get a hand with this? I’ve been trying to figure this out for three months; Unfortunately, I’m not a coder so my efforts have been fruitless so far.
Even if I could just wrap the title in a link! Anything will do. Our list of ideas (nominations) is probably going to hit a hundred, and it doesn’t feel right asking everyone to manually add link to each description. Thanks
Forum: Plugins
In reply to: [Quick Paypal Payments] Paypal error because of "un-encrypted button"you just made my day buddy 🙂 Contacting now
Forum: Plugins
In reply to: [Secondary Title] adding conditional html to manual titleSorry for the delayed response, thaikolja. The second option still sends out empty tags; but the first one works perfectly! Thanks!
Forum: Plugins
In reply to: [WordPress SEO News] Category Exclude doesn't workIt’s happening to me as well. Could really use a fix on this