Strict Standards: Redefining already defined constructor for class bbdb in /home/themes/public_html/forums/bb-includes/db-mysql.php on line 12

Strict Standards: Declaration of BB_Walker_Blank::start_lvl() should be compatible with BB_Walker::start_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_lvl() should be compatible with BB_Walker::end_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::start_el() should be compatible with BB_Walker::start_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_el() should be compatible with BB_Walker::end_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127
Editable Feature Site Home Page « ThemeShaper Forums

ThemeShaper Forums » ThemeShaper WordPress Themes

Editable Feature Site Home Page

(3 posts)
  • Started 5 years ago by gregf
  • Latest reply from gregf
  • This topic is resolved

  1. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512


    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512
    gregf

    Member

    Hello,

    I would like to make the text block to the right of the main image editable from the WordPress editor. I only need to have a single front page loaded; I won't be using the randomized include files. Can someone point me in the right direction?

    Thanks.

    Posted 5 years ago #
  2. Caramboo
    Member

    I've just done this quite easily.

    Firstly, install the Improved Include Page Plugin:

    http://wordpress.org/extend/plugins/improved-include-page/

    Create a new page in your Wordpress install that's going to contain your content. You're probably going to want to hide the page from your site navigatuion so perhaps install something like the Page Link Manager plugin:

    http://wordpress.org/extend/plugins/page-link-manager/

    Once you've done that, copy one of the default feature-front-*.php files from:

    wp-content/themes/thematicfeaturesite/includes/

    Perhaps call it feature-front-3.php

    Open it in an editor and find these lines:


    <h2>Lorem ipsum dolor sit amet consectetur elit adipiscing nunc</h2>
    <p>Cras tristique consectetur dui....</p>

    Replace the title between the H2 tags with your own wording and replace the <p>Cras tristique...</p> line with this:


    <?php iinclude_page(202); ?>

    Obviously you'd have to swap the 202 in brackets with the number of your new page.

    Then edit wp-content/themes/thematicfeaturesite/functions.php

    Find this part:


    $rand = mt_rand(1, 2);
    include "includes/feature-front-$rand.php";

    Remove the first line completely and edit the second to read:


    include "includes/feature-front-3.php";

    Once all that's done, I think it'll work as you wish. It does here anyway :)

    Posted 5 years ago #

  3. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512


    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512
    gregf

    Member

    That works a treat. Thanks so much!

    Posted 5 years ago #

RSS feed for this topic

Reply

You must log in to post.


Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::spool_analytics() should not be called statically in /home/themes/public_html/forums/bb-includes/wp-functions.php on line 586

Strict Standards: Non-static method GA_Filter::spool_this() should not be called statically in /home/themes/public_html/forums/my-plugins/googleanalytics.php on line 183