Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #6684

    I just started using the Brightbox theme today.. so forgive me if I’m overlooking something ….

    After creating “dynamic templates” I seem to have lost the standard “pages” sidebar that can be placed on widgets.

    As soon as you select one of your templates in the Page builder… the page becomes full width and you lose some of the standard WP widget functionality…

    I went back through the video on youtube that shows you how to make templates using the builder.. But I can’t find a way to re-introduce the standard WordPress “pages”… sidebar elements that should be included on pages…

    I also looked for [short codes] to put them back…

    any help would be greatly appreciated…

    #55094

    never mind… figured out the sidebars thing… give it a name in the template builder and it magically appears over in widgets…

    load ‘em up ‘Sparky’

    #55095

    Well now there’s a different problem…

    Using the Template Builder you have choices for introducing Post/Page content:

    - “Post/Page Content” element allows you the option to “Display Content from this Post/Page”… dynamic, on the fly .. or specify a particular page… or inject direct text…

    - Using the Columns element… you can almost do the same… if you want to split the page up into columns.

    BUT… the snag is that the Column element doesn’t contain the same option for you to “Display Content from this Post/Page”. You only can only point at a specific page, load blog content, build a widget or inject direct text…

    That means that you can’t “colmunize” (new word) … a page template and specify dynamic content.

    Here’s what I’m trying to build as a template for the internal pages on this site:

    (in order of layout)

    Slideshow Element

    – whatever imagery/media the customer wants on this page (dynamic, static, whatever)

    Columns Element

    – 2 columns 75/25

    – left side “Display Content from this Page/Post” (dynamic for whatever page the template is applied)

    – right side – widget, blog, … whatever (shared across all pages of this template/style)

    Post/Page Content Element

    – content from a specific Page

    – whatever want to include across bottom of all pages of this style.. (think old school HTML “includes”)

    I’m open for suggestions…

    #55096

    Hey,

    some other users requested this option for the column element too. For now it’s not possible to insert the page/post content of the current page/post but I reported the request to Kriesi and maybe we’ll include this feature in upcoming updates.

    #55097

    [disappointed]

    :-(

    [/disappointed]

    …so, no suggestions for work around?

    Since I can’t apply a template that displays dynamic content and widgetized sidebar…how about some trick to include the content from another specific page….

    That way I can drop the template designation, I’ll get my standard WP sidebar back again… and still have my “include” content across the bottoms…although I’ll have to add it manually to each page…

    is there a SHORTCODE for pulling content from another post/page?

    #55098

    You can use following shortcode function – add it functions.php:

    add_shortcode( 'get_page_content', 'get_page_content_shortcode' );

    /**

    * The shortcode function to pull post content from a page.

    *

    */

    function get_page_content_shortcode( $atts ) {

    $atts = shortcode_atts( array(

    'title' => '',

    'post_type' => 'page',

    ), $atts );

    if ( ! $page = get_page_by_title( $atts['title'], OBJECT, $atts['post_type'] ) )

    return;

    return apply_filters( 'the_content', $page->post_content );

    }

    The usage:

    [get_page_content title="Page Title"]

    or for posts:

    [get_page_content title="Post Title" post_type="post"]

    This tutorial shows you how to create a shortcode to call pages/posts by id: http://digwp.com/2010/06/shortcode-for-includes/

    #55099

    BAM!!! That worked perfect!!!

    I had found a plugin to try the same thing, but it rendered the content with all the formatting stripped…

    This new function preserves all the CSS layout and the content was rendered perfectly!!!!

    Many many thanks.

    #55100

    Glad that I could help you :)

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Lost Pages sidebar’ is closed to new replies.