Welcome! To use this support forum, please Login or Join Today!

   

Content template 7

{name}
Rank

Total Posts: 17

Joined 2011-05-09

PM

 

I don’t have template 7 as an option.  I updated the main theme and using the child theme.  Could you help me out with this?

{name}
Rank

Total Posts: 17

Joined 2011-05-09

PM

 

I noticed Casey is ill and I hope he does get to feeling better.  What I am looking for is the content template #7 when you go into the live preview and select content templates at the top and it provides a list of templates 1-7.  The 7th one I am in need of asap.  I just updated to 1.5 to make sure that was not the problem.  I attached a screenshot to limit confusion.  Some help of assistance would be great.  Thank you.


Attachments:

https://www.filepicker.io/api/file/bVTve3kRT1Cme3890CRN

{name}
RankRankRankRank

Total Posts: 3667

Joined 2011-04-27

PM

 

Hi, I’ve pushed Mobius version 1.6 which includes the content template #7 from the demo.

In the future, you can define your own reusable content templates in functions.php like so:

function st_content_templates( $content_templates ) {
    $templates = array(
        array(
            'title' => 'My Content Template',
            'description' => '',
            'image' => 'http://domain.com/path/to/preview.jpg',
            'content' => '...your html here…'
        ),
        array(
            'title' => 'My Other Content Template',
            'description' => '',
            'image' => 'http://domain.com/path/to/preview.jpg',
            'content' => '...your html here…'
        )
    );

    $content_templates['templates'] = json_encode( $templates );
    return $content_templates;
}
add_filter( 'tiny_mce_before_init', 'st_content_templates' );