Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter FirstRulez

    (@firstrulez)

    Many thanks. That seems to have sorted it 🙂

    Thread Starter FirstRulez

    (@firstrulez)

    I’ve still not been able to resolve the issue with the output options when using this plugin from the template.

    Any chance of a pointer to what may be wrong?

    Thanks

    Thread Starter FirstRulez

    (@firstrulez)

    In case anyone has this problem again I managed to track the issue down.

    The templates within our site had been edited and did not use:
    <?php get_header(); ?>
    <?php get_footer(); ?>

    Which resulted in the header.php and footer.php in the template not being used.

    Within header.php there is a call to:
    <?php wp_head(); ?>

    This is where the Google Analytics code (and many other plugins) insert code into pages.

    If I find the people who removed that from our templates… Cowboys!

    David

    Thread Starter FirstRulez

    (@firstrulez)

    With regards to problem 1 I have mostly resolved the issue by escaping using \ so my entry in the template file is <?php echo do_shortcode("[catlist name=news numberposts=8 tag=h4 date=yes date_class=\"lcp_date\" title_class=\"lcp_title\"]"); ?> however this is resulting in the following output:

    <ul class="lcp_catlist" id="lcp_instance_0"><li class = current ><a href="http://my-URL/post-name/" title="Post Title">Post Title</a><span class="lcp_date"> January 2, 2014</span></li></ul>

    As you can see the class for the date is being output correctly but the class for the title is incorrect (missing quotes) and the H4 tag is missing.

    I will keep trying to see if I can resolve but your assistance would be appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)