Your Time:
Our Time:

Plugin Shortcode Displaying on Frontend

  • Resolved
    Posted in: CarZone  
    • Topics: 8
    • Replies: 14
    • Total posts: 22
    October 6, 2016 at 5:08 am #16886

    I have been using a plugin called qTranslate for the past year and I hadn’t updated my theme until recently. But each time I update the theme, whenever I add a new post/page, the plugin’s short code is now displayed in the front end. I have emailed the the plugin’s support and they have corrected the issue for me once but they have told me that unless the issue is corrected on the developer’s end, I’m going to have to apply their fix every time that I update.

    The email the told me to relay to you goes as follows:

    We changed in file “/carzone/framework/common\atp_generator.php”, function subheader( $postid ), line
    $page = get_post($postid);
    to read as
    $page = get_post($postid, OBJECT, ‘display’);
    They fetch post there for display purpose, so the filter ‘display’ needs to be applied. It does translation among other things.

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.