Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter Rehan Ahmed

    (@rehanahmed38)

    I have checked with my theme vendor who asked the following quesiton

    `Yes the data is stored on post_meta table.

    BTW, we do runs do_shortcode for the content on our page builder.

    Could you check with the plugin author to see if this could works together ?`

    So if you could answer the above will be great help.

    Thanks in advance

    Plugin Author Paul Ryan

    (@figureone)

    Aloha, this plugin should run do_shortcode() for any shortcodes in the content of the inserted page. Maybe there’s a custom template that is generating the accordions instead?

    A couple things to try:

    1. Go to WordPress Dashboard > Settings > Insert Pages and try both insert methods (legacy and normal). Normal insert method is better, but the legacy method sometimes works better with some page builder plugins.

    2. If the accordion markup is being generated by a custom template, you can tell Insert Pages to use a similar template by changing the display param in the shortcode, for example [insert page='admissions/tuition-fees' display='your-custom-template.php']. More details on creating custom templates here: https://medium.com/@wesmodes/using-wordpress-insert-pages-plugin-with-your-custom-post-types-and-custom-templates-535c141f9635

    3. I noticed the “Tuition Fees: New Students – FS1 to Year 13 – 2022-23” accordion on the FAQ page has this content: [my_content id=”6358″ title=true /]. Is that a different shortcode? I don’t see Insert Pages currently in use there.

    Thread Starter Rehan Ahmed

    (@rehanahmed38)

    Hi Paul
    Thanks for your reply and suggestion on the issue

    I have sent your reply to the theme vendor to check what tweaks are possible to get things aligned.

    For Point no 1.
    I have tried but there is no change in the result and still nothing coming.

    For Point no 2.
    This I have asked with theme vendor and will take their assistance on it.

    For Point no 3.
    Sorry for that I was trying different manual short codes from different people who suggested their thoughts but it did not work and in between I forgot to removed the short code now I have placed the the plugin code again.

    If you want to see the theme then I can share my staging site credential for your valuable thoughts or to understand the issue.

    Thanks in advance.

    Plugin Author Paul Ryan

    (@figureone)

    Ok great, I do see the Insert Pages output now, and that it is indeed blank:

    <span data-post-id="6358" class="insert-page insert-page-6358 "></span>

    Most likely this is as you mentioned, that the data is stored in the post_meta table. You will likely need to create a custom template to output that content in addition to the standard post_content from the wp_posts table.

    Thread Starter Rehan Ahmed

    (@rehanahmed38)

    Hi Paul

    Thanks for your response.

    I have sent your last reply to the theme vendor what he replied is the following:

    page builder content could be printed with this action ( inside the wordpress post loop?)

    do_action(‘gdlr_core_print_page_builder’);

    If the plugin couldn’t add this, you might need to place the content on default editor area instead.

    I have no idea on this what does it mean but I have included here for your reference only.

    Thanks in advance.



    Plugin Author Paul Ryan

    (@figureone)

    Aloha, we have added that action into the plugin, so please test it out once the next version (3.7.5) is released!

    https://github.com/uhm-coe/insert-pages/commit/e84acd2374212cd87d1bf5b9bcbb01d9a10b0039

    Thread Starter Rehan Ahmed

    (@rehanahmed38)

    Hi Paul

    Thanks a lot for your support!!!!

    I tried and add the same code on two places where you mentioned but unfortunately I got error on website
    Parse error: syntax error, unexpected ‘else’ (T_ELSE), expecting function (T_FUNCTION) or const (T_CONST) in?/home/customer/www/abc6140.sg-host.com/public_html/wp-content/plugins/insert-pages/insert-pages.php?on line?757

    I think something is missing on the the above error line.

    Many thanks

    Rehan

    Thread Starter Rehan Ahmed

    (@rehanahmed38)

    Hi Paul

    Ignore my last reply as error has removed that was my mistake putting code wrongly but now I fixed it and website is working and I have placed the code in same location where you have shown in code. but nothing happened

    you can see on this page
    https://abc6140.sg-host.com/faqs/
    and accordion is the following
    Tuition Fees: New Students – FS1 to Year 13 – 2022-23

    Plugin Author Paul Ryan

    (@figureone)

    The code has already been added in version 3.7.5 of the plugin. Please check with your theme developer to make sure that do_action(‘gdlr_core_print_page_builder’); was enough to get the extra content to render and let us know if there are things needed to integrate with the page builder.

    Thread Starter Rehan Ahmed

    (@rehanahmed38)

    Hi Paul

    Many thanks for your continue support.

    This is the reply I got from the vendor and he asked as follows:

    Is the code added while inside the wordpress post loop ?

    ( after the_post(); command )

    I have no answer on it so I have forwarded to you for the reference.

    Thanks in advance.

    Thread Starter Rehan Ahmed

    (@rehanahmed38)

    Hi Paul

    I got the reply from the vendor regarding the question that you asked in your last reply.
    The code has already been added in version 3.7.5 of the plugin. Please check with your theme developer to make sure that?do_action(‘gdlr_core_print_page_builder’);?was enough to get the extra content to render and let us know if there are things needed to integrate with the page builder.

    and he replied the following.
    Yes, the command is enough

    Thanks in advance

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘We are having issues that content is not showing’ is closed to new replies.