Ditty News Tickers does not work in Montezuma (3 posts)

  1. Carnage
    Posted 3 years ago #

    Hi, please see the following for reference:


    I have installed the Ditty News Ticker that provides a php direct function to display its content as well as shortcode.
    The shortcode works, the direct functions does not if I add it to the footer.php Sub Template.

    I'm not sure where the problem lies, but the trail explains what myself and the author have tried.
    Thanks in advance

  2. ricoh
    Posted 3 years ago #

    Since both the theme and plugin are using output buffering to render their markup, the theme may be wiping out the plugin buffer output. The best bet would be to create a child theme and modify the footer.php, for instance

    global $montezuma;
    ditty_news_ticker(88); //<-- outputs just fine on my test
    echo bfa_parse_php( $montezuma['subtemplate-footer'] );

    If you still want to be able to modify the other content in the footer via the admin interface then just leave the line below, since this code is what outputs the virtual database driven markup, as far as I can tell

    echo bfa_parse_php( $montezuma['subtemplate-footer'] );
  3. Carnage
    Posted 3 years ago #

    Hi thanks for the suggestion. I'd just got there myself and output the ticker just above the footer border, so I'll keep experimenting with the Editor to see where else I can place it. (The footer was just an quick test to see if I could get it to display)
    Thanks again

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic