WordPress.org

Ready to get started?Download WordPress

Forums

Exec-PHP
more tag not working with exec-php (7 posts)

  1. tinkleondabeach
    Member
    Posted 3 years ago #

    I have posts which basically includes another page using exec-php. However, I have the WPhtml <!--more--> tag on the included page, though is unable to be interpreted. The full content is still available on the main page rather than just the post page.

  2. Apotrex
    Member
    Posted 3 years ago #

    Has anyone figured out this problem yet? I'm seeing it, too, and I'm hoping to find a pre-existing solution rather than having to debug. :)

  3. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

  4. Apotrex
    Member
    Posted 3 years ago #

    alchymyth - That's more about putting more in a WordPress Page. I believe tinkleondabeach and I (I am, for sure) are more concerned with it seemingly not working with the exec-php plugin.

  5. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

    alchymyth - That's more about putting more in a WordPress Page. I believe tinkleondabeach and I (I am, for sure) are more concerned with it seemingly not working with the exec-php plugin.

    sure, but the exec-php is on a page.

    have you tried the suggestion in http://codex.wordpress.org/Customizing_the_Read_More#How_to_use_Read_More_in_Pages ?

    besides, what is the code you (and the starter of this thread @tinkleonbeach) are trying to execute in the page?

    please use a http://wordpress.pastebin.com/ for longer codes.

  6. tinkleondabeach
    Member
    Posted 3 years ago #

    @alchymyth: exec-php can be used in posts and pages. However, when code that is used with execphp on a post, the more link is not visible on homepage.

  7. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

    global $more;$more=0;the_content('MORE');

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags