Custom Post Page

Posted in: Newspaper
Post count: 1

I want to ask two questions:

1. Can this theme set the sidebar on post pages to be like “semi-smart”? Because I don’t want my sidebar ad to be sticky but the rest of the sidebar contents (which are below the ad) to be sticky.
2. Can I set a different header style for post pages? I mean different than the global header style.

Thanks!

Post count: 22421

Hi,

1) This can be done on pages, but not on posts unfortunately. Posts can only have standard or smart side-bar. There is no semi-smart sidebar available. sorry!

2) If you want a different header for posts, you need to add conditions in the code for it.
You need to change this function: http://screencast.com/t/xXUx3lwrl

replace the code with this one:

  private static function _helper_get_active_id() {
        $tds_header_style = td_util::get_option('tds_header_style');
if(is_single()){
    $tds_header_style=12;
}
        if (empty($tds_header_style)) { // nothing is set, check the default value
            $tds_header_style = parent::get_default_component_id(__CLASS__);
        }
        return $tds_header_style;
    }
}

This will set header style 12 for all posts. If you want a different header style change the number 12 in the code to the header style number you want.

Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.