I am using this plugin: https://www.ads-software.com/plugins/query-multiple-taxonomies/
I am trying to display output of this plugin inside Read more. So I created a shortcode:
<?php
function tax_shortcode() {
the_widget('Taxonomy_Drill_Down_Widget', array(
'title' => '',
'mode' => 'lists',
'taxonomies' => array( 'quote-writer', 'quote-topic' )
));
}
add_shortcode('taxshort', 'tax_shortcode');
?>
Now I am trying to use it this way:
<?php
echo do_shortcode('[expander_maker]'.'[taxshort]'.'[/expander_maker]');
?>
My shortcode data is not showing inside read more.
What can I do?
]]>What am I doint wrong?
]]>Website: www.sustainableprocessimprovement.co.uk
Theme: Academica
I have set the link up in the Homepage Content section of theme options as I was supposed to and it was working fine until yesterday so I really am at a lose as to why it’s not working now.
Here is a link to my website: https://www.cdjoneill.com/
Any help you could provide would be greatly appreciated.
Thanks
]]>Here is what is happening… I get the read more link to show up but when I click on it, it loads the blogrole again. So it essentially reloads the page. The read more link has the correct post id, and, when I click the read more link it changes the address to the correct post id but displays the blogrole. Crazy huh!
I am working locally on WAMP and I have set my static frontpage page up and have the blog role set to /blog/ . My template file for the front page is frontpage.php and for the blog role is index.php
I have added this code to functions php…
function new_excerpt_more($more) {
global $post;
return '<a class="" href="'. get_permalink($post->ID) . '"> [read mo]</a>';
}
add_filter('excerpt_more', 'new_excerpt_more');
my loop is…
<?php query_posts('cat=3&showposts=5'); ?>
<?php if(have_posts()) : ?>
<?php while(have_posts()) : the_post(); ?>
<div class="blgTtl">
<h2>
<?php the_title(); ?>
</h2>
</div>
<div class="blgMnt">
<?php the_time('F') ?>
</div>
<div class="blgDay">
<?php the_time('d') ?>
</div>
<div class="blgYr">
<?php the_time('Y') ?>
</div
<?php the_excerpt(); ?>
<?php endwhile; else: ?>
<p> No Content </p>
<?php endif; ?>
If I change the_excerpt to the_content and use the built in read more feature it works fine. the read more button is there and when it is clicked a new page loads and the complete post is on the page.
Anyone have any ideas?
]]>