AzzX
Forum Replies Created
-
Forum: Plugins
In reply to: [Enhanced Category Pages] Enhancrd categories won’t appear onlineYou need to edit your taxononomy / category template and include:
<?php global $enhanced_category; //get enhanced category post and set it up as global current post $enhanced_category->setup_ec_data(); ?>
Then it works without issue.
Template example:
<?php global $enhanced_category; //get enhanced category post and set it up as global current post $enhanced_category->setup_ec_data(); ?> <!-- enhanced category content --> <?php the_post_thumbnail("medium"); ?> <?php get_template_part( 'content', 'page' ); ?> <!-- custom fields --> <?php get_post_custom(); ?> <?php // If comments are open or we have at least one comment, load up the comment template if ( comments_open() || get_comments_number() ) : comments_template(); endif; ?>
Forum: Plugins
In reply to: [Autoptimize] Autoptimize 2.2 is near: need testersBeen testing for a few days – Would love to highlight some bugs but unfortunately I am having 0 issues.
Keep up the great work.
Instead of
$terms = get_terms($post->ID, 'mycptonomy');
Use
$terms = get_the_terms( $post->ID, 'mycptonomy' );
Forum: Plugins
In reply to: [Enhanced Category Pages] Background Elements in Visual Composer Not ShowingYou can make one
Create a file named category.php for a standard cat
or a file named like taxonomy-term.php for a custom cat where term is the registered taxonomy name.
Test with the example included in the plugin:
<?php global $enhanced_category; //get enhanced category post and set it up as global current post $enhanced_category->setup_ec_data(); ?> <!-- enhanced category content --> <?php the_post_thumbnail("medium"); ?> <?php get_template_part( 'content', 'page' ); ?> <!-- custom fields --> <?php get_post_custom(); ?> <?php // If comments are open or we have at least one comment, load up the comment template if ( comments_open() || get_comments_number() ) : comments_template(); endif; ?>
Forum: Plugins
In reply to: [Enhanced Category Pages] Background Elements in Visual Composer Not ShowingJust done this, you need to edit the category/taxonomy template to incorporate the markup of your theme – as simple as including your post template into this file.
Forum: Plugins
In reply to: [Enhanced Category Pages] Support for Divi Visual BuilderDivi Builder doesn’t support Custom Post types out of the box (which is what this plugin essentially adds to taxonomies)
But it can be done relatively easily via https://www.elegantthemes.com/blog/divi-resources/how-to-add-the-divi-builder-to-custom-post-types-divi-nation-short
The Post type you need to add is enhancedcategory.
In order to make things easier and to fix other builders like visual composer change line 21 on \enhanced-category-pages\classes\ecp\Enhanced_Category.php
From ‘public’ => false, to ‘public’ => true,
Forum: Plugins
In reply to: [Enhanced Category Pages] Plugin Simply Not WorkingHave you tried editing your category template?
Point 2 here: https://www.ads-software.com/plugins/enhanced-category-pages/installation/
Forum: Fixing WordPress
In reply to: Comments Template on a Taxonomy TermManaged to get a psuedo working solution using bbpress though its a bit clunky. You basically duplicate all your taxonomies as forum threads and query these in your taxonomy template.
It works at least.
Forum: Plugins
In reply to: [WangGuard] Loading js from c.betrad.comCheers José. The site in this thread loads the js as an example: https://www.ads-software.com/support/topic/error-on-register-page-in-ie-only?replies=3
I only noticed it due to the script slowing my website down otherwise I would be none the wiser.
Forum: Plugins
In reply to: [WangGuard] Loading js from c.betrad.comThanks for the response José.
I have just checked a few sites with this plugin enabled and they are all calling js from these locations:
c.betrad.com/a/n/412/890.js
https://c.betrad.com/ba.html?1159
c.betrad.com/surly.jsNot sure if its suss or not – just a heads up.
Forum: Plugins
In reply to: [WP No Taxonomy Base] Still in development?Thanks for the code Marko though I have noticed an issue.
If your permalink contains the taxonomy name, this also gets stripped
Example your taxonomy is book and your url is:
https://www.myblog.com.au/stephen-king-books
The url becomes https://www.myblog.com.au/stephen-king- which results in a 404.
Forum: Plugins
In reply to: [Purple Heart Rating (Free)] Removed from Code CanyonThanks wp-buddy, found the license code.
Forum: Plugins
In reply to: [GD Star Rating] [Plugin: GD Star Rating] Show Total rating of a taxonomyWould like to know this as well.
We were probably making it a bit hard for ourselves.
In WordPress SEO – Titles and Metas – Home. Set the Author highlighting to don’t show. Make sure to save and empty any caches.
If it still doesn’t work try deactivating and reactivating your main theme – this worked for me.
As long as you have filled in your google plus profile in each of your users profile page, this will be used for each of your posts.
If you want to put your publisher profile on the homepage simply add this in your header:
<?php if(!is_single() || is_front_page()) { ?><link href="https://plus.google.com/101484060053382827845" rel="publisher" /><?php } ?>
Replace the above publisher ID with yours. This effectively will use the Publisher Info for The homepage and Pages only.
Following, I noticed this too. I set the rel=publisher for the homepage but it appears google has a preference for author over publisher.
I’ll look over the code tomorrow, shouldn’t be that difficult a change.