• I have a page that generates html for a newsletter and it cannot have javascript on it. I have to use the javascript option for this plugin though as I have a caching plugin. When I open this page to generate content for the newsletter, some of the titles are blank. Is there a function to just display the primary title of a post and not attempt to run the experiments?

Viewing 2 replies - 1 through 2 (of 2 total)
  • did you try using the ob_clean function?

    I’m guessing you tried using get_the_title( $post->ID ); ?

    • This reply was modified 7 years, 11 months ago by m1tk00.
    Plugin Author Jason Funk

    (@jasonlfunk)

    Hey Josh –

    There wasn’t an easy way to do that so I added in a way and published version 8.8.

    Version 8.8 adds two helper methods:

    • titleex_disable()
    • titleex_enable()

    These instruct the plugin to not do the experiments. To use it simply do:


    <?php
    titleex_disable();
    ///////////
    // GENERATE NEWSLETTER HTML LIKE NORMAL
    ////////////
    titlex_enable();

    I hope that helps!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is there a way to get the primary title?’ is closed to new replies.