WordPress.org

Support

Support » Plugins and Hacks » [Plugin: HTML FAQ Page] How to display [faq_collect] AFTER a paragraph from a page?

[Plugin: HTML FAQ Page] How to display [faq_collect] AFTER a paragraph from a page?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Bassem Rabia

    @djerba

    Dear Ryan
    To be sure that [faq_collect] will displays after your content
    – Go to your admin area, open the page where you will insert [faq_collect] on the edit mode
    Get the ID of you page from here: http://your-url.com/wp-admin/post.php?post=37&action=edit
    – If you have access to your theme files go to loop-page.php

    look arround on for the_content(), after this code we will insert our code so [faq_collect] will displays after the content.

    if(is_page(37)){
    if (function_exists('faq_html')) { faq_html(); }
    }

    don’t 4get to delete the [faq_collect] from your wysiwyg editor

    Any issues, im here ready to assist you 🙂

    Thank you so much. Thank solved my concern.

    Hi

    I’m facing same problem. FAQ showing at the top of the page but i want to show between

    [tabs tabname=”FAQ”]

    [faq_collect]

    [/tabs]
    but its not working..
    i dont have loop-page.php so how can I show the FAQ between the specific code

    I’M Using U-Design theme

    Try the content-page.php file and look for <?php the_content(); ?> and insert the code after it.

    Ryan

    So after adding this in my theme page short code will work ??

    any other way so i can use directly in page or post

    Its Working….But I want to add [faq_collect] between the paragraph.
    Please Visit:-
    http://www.scilsoft.com/test/singapore-company-incorporation-with-local-nominee-director.html

    Please look into this and tell me how to insert [faq_collect] in FAQ tab.

    Thnx

    -Pawan

    Plugin Author Bassem Rabia

    @djerba

    Dear Pawan Joshi

    To insert [faq_collect] between the paragraph try this
    On your content-page.php file

    If you want to show the content of your questions after A local registered office address

    – Get the ID of you page
    – Look arround on for the_content()

    if(is_page(<strong>ID</strong>)){
      $my_content = explode('<strong>A local registered office address</strong>',get_the_content() );
      /* Over here we will display our content */
      echo $my_content[0];
      if (function_exists('faq_html')) { faq_html(); }
      echo $my_content[1];
    }else{
    	the_content();
    }

    – Done 🙂

    Thank you so much for your help. I’ll try this and will inform you.

    thnx
    -Pawan

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: HTML FAQ Page] How to display [faq_collect] AFTER a paragraph from a page?’ is closed to new replies.