WordPress.org

Forums

Splitting up the Loop (2 posts)

  1. jalla
    Member
    Posted 6 years ago #

    I would like to build a template with some of the post content outside the regular Loop. Something like this:
    http://bildr.no/view/332984

    The HTML/text/embed area should be editable using it´s own field in the post admin.

    I guess there is two ways to solve this - putting the sidebar inside the Loop or putting an extra text/HTML field outside the Loop (but still editable in the admin area for that post).

    Even if this is possible, I don´t know how to actually do this.

    Any suggestions?

  2. MichaelH
    Member
    Posted 6 years ago #

    The HTML/text/embed area should be editable using it´s own field in the post admin.

    That requirement sounds like you need a plugin that allows PHP in a post to be 'executed':
    http://wordpress.org/extend/plugins/exec-php/

    Note: for PHP code in a widget see:
    http://wordpress.org/extend/plugins/php-code-widget/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags