Modifying OTW-Portfolio-Post.php to force full width
-
My portfolio categories are displaying full width, and I have a full width option as part of my theme, but when I expand the category and go to the post page the primary sidebar is displayed.
What do I need to edit in otw-portfolio-post.php to force the posts pages to display full width?
I assume this is the code that needs to be edited:
<?php $style_width = ”;
if( get_option( ‘otw_pfl_content_width’ ) ) {
$style_width = ‘style=”width:’.get_option(‘otw_pfl_content_width’).’px;”‘;
}
?>I just don’t know what to dhange the get_option( ) to. Thank you.
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘Modifying OTW-Portfolio-Post.php to force full width’ is closed to new replies.