• I’m looking to add a small table (schedule) to a site.

    The client should be able to edit the content as the schedule changes. The schedule will be included in the home page template and in a post.

    In the past, I’ve used AdMinister and AdRotate for similar tasks. But they are overkill and complicated for the client to use. Is there a simpler plug-in that can do this?

    The text widget would almost work.

Viewing 1 replies (of 1 total)
  • Thread Starter eric3d

    (@eric3d)

    OK, I added the schedule as a page and added this code from the template.
    It works, but it’s not very elegant and I’d rather use a page name instead of an id.

    <?php
    $pages = get_pages( 'include=103' );
    if( $pages ) :
    	foreach( $pages as $pages ) : setup_postdata( $pages );
    		the_content("Continue reading '" . the_title('', '', false) . "'");
    	endforeach;
    endif;
    ?>

Viewing 1 replies (of 1 total)
  • The topic ‘Add editable content to template’ is closed to new replies.