WordPress.org

Ready to get started?Download WordPress

Forums

HTML FAQ PAGE
[Plugin: HTML FAQ Page] How to display [faq_collect] AFTER a paragraph from a page? (11 posts)

  1. ryezack
    Member
    Posted 2 years ago #

    Right now, the [faq_collect] always displays at the top of the content even though there's a paragraph before it. How do I force it to display normally so when I add an introduction text on the page then add the [faq_collect] below it, it will display in that following order. Thanks.

    Ryan

    http://wordpress.org/extend/plugins/adonide-faq-plugin/

  2. Norfolky WP Team
    Member
    Plugin Author

    Posted 2 years ago #

    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 :)

  3. ryezack
    Member
    Posted 2 years ago #

    Thank you so much. Thank solved my concern.

  4. Pawan Joshi
    Member
    Posted 2 years ago #

    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

  5. Pawan Joshi
    Member
    Posted 2 years ago #

    I'M Using U-Design theme

  6. ryezack
    Member
    Posted 2 years ago #

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

    Ryan

  7. Pawan Joshi
    Member
    Posted 2 years ago #

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

  8. Pawan Joshi
    Member
    Posted 2 years ago #

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

  9. Pawan Joshi
    Member
    Posted 2 years ago #

    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

  10. Norfolky WP Team
    Member
    Plugin Author

    Posted 1 year ago #

    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 :)

  11. Pawan Joshi
    Member
    Posted 1 year ago #

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

    thnx
    -Pawan

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.