• Just wondered if it was possible to specify several different editable regions in a static page (i.e. not a blog)

    Its for a specific page I need to create, a page of staff profiles, each with a title, photo and description. Can each be edited independently?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • If I read you correctly, you want one main STAFF page with a block area for each member of that staff. Each block should be able to be edited independently from the main STAFF page. Correct?

    First you need the following plugins:

    Include Page (can be found at
    https://beetle.cbtlsl.com/archives/2005/05/03/include-page-plugin-v-11/
    )

    Exec Php
    https://www.soeren-weber.net/post/2005/08/18/50/

    Create individual staff pages based on a template that is bare. “Bare” meaning that it simply is text, no CSS, no nothing.

    <?php
    /*
    Template Name: Bare Page
    */
    ?>
    <?php
    /* Don't remove this line. */
    require('./wp-blog-header.php');
    ?>

    (the file above may be in a different location, depends on your install).

    Within the STAFF page create a series of div’s

    <div id =”block”>
    <?php include_page(28); ?>
    </div> <!– end block –>

    the number 28 will refer to the individual page number of a particular staff member.

    Use CSS to style the block sections.

    Exec PHP allows PHP code to be include within a WordPress Page.

    If you click on my name and look on my site, the “block” that appears in the upper right hand corner of a main content page is accomplished this way. I can change the content of that block without touching the main page.

    This is actually a great example of using WordPress as a CMS.

    Thread Starter danshaw

    (@danshaw)

    excellent, sounds ideal. thanks alot

    Hi: a couple of questions;

    so on the staff page you’ll have a whole bunch of divs, each identified by page number, that will be included on the final page using the exec php?

    Or do you create multiple staff pages each for a single staff member, with 1 div identified by page number, and then….

    j

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Is this possible? – Multiple chunks of text on a static page’ is closed to new replies.