WordPress.org

Ready to get started?Download WordPress

Forums

Page-list
[resolved] Shortcodes are shoing on page instead of page lists (11 posts)

  1. StylingDesigins
    Member
    Posted 1 year ago #

    I am trying to make sitemap here:
    http://www.apartmentsforrentinamsterdam.com/sitemap/

    and also with other shortcodes the page lists will not show.

    Any ideas what can be wrong?
    It is a fresh install wp 3.4.2 and pagelist Version 1.2

    http://wordpress.org/extend/plugins/page-list/

  2. webvitaly
    Member
    Plugin Author

    Posted 1 year ago #

    1) Check if Pagelist plugin activated

    2) Update Pagelist plugin to latest version

    3) Check if your content is showing with the_content() function;
    If not, than apply do_shortcode() for your content

  3. StylingDesigins
    Member
    Posted 1 year ago #

    How do I chack 3if your content is showing with the_content() function?
    And how do I apply do_shortcode() for your content?

    Thanks for reply!

  4. webvitaly
    Member
    Plugin Author

    Posted 1 year ago #

    If Pagelist plugin activated and updated, but shortcode is not executed, then (99%) you have an error in your template and your content is not getting properly.

    To check it - you may install some other plugin with shortcodes and add another shortcode into content area and test it. If another shortcode is not executed too, than you have an error in your theme templates.

  5. StylingDesigins
    Member
    Posted 1 year ago #

    I have shortcode magic installed and that works without problem. If you want to see for yourself I can give logins.

    Thanks,

    Wouter

  6. StylingDesigins
    Member
    Posted 1 year ago #

    or maybe you can see without login?

  7. webvitaly
    Member
    Plugin Author

    Posted 1 year ago #

    IMHO the problem is in your theme.

    Maybe you output content with:
    echo $post->post_content;
    and shortcodes does not execute.

    Try to replace it with:
    the_content();
    or with:
    echo do_shortcode($post->post_content);

  8. StylingDesigins
    Member
    Posted 1 year ago #

    I am using Travel Blogger theme:
    http://www.freetravelwebsitetemplates.com/

    Where do I enter the suggested changes?
    In theme I suppose but which file?

    Thanks for the help.

  9. StylingDesigins
    Member
    Posted 1 year ago #

    In which file can I find this code normally?
    I checked index.php but cannot find and donĀ“t know where to look and what to look for exactly.

  10. webvitaly
    Member
    Plugin Author

    Posted 1 year ago #

    search in page.php or single.php

  11. StylingDesigins
    Member
    Posted 1 year ago #

    Its not there, hhmmm I am about to give up, any other suggestions?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags