Forum Replies Created
-
AuthorPosts
-
mark_sMember
Hi Sanjeev, appreciate it. I wanted to fix this in the .htaccess file but decided to go with Really Simple SSL as I didn't want to break anything.
Hopefully it's working now.
Cheers
Markmark_sMemberThanks Victor!
I've been through the documentation, there is nothing specific on how to set up those widgets. Anyone been through this before?
Regards,
Markmark_sMemberPlease no-one use the code above I don't think it's correct. I was wondering if someone could look at this before I put it in my functions.php file to check it is correct?
//* Force content-sidebar layout on blog page only add_filter( 'genesis_pre_get_option_site_layout', 'content_sidebar_layout_blog_page' ); function content_sidebar_layout_blog_page( $opt ) { if ( is_page( 'Blog' ) ) { $opt = 'content-sidebar'; return $opt; } }
Basically, I think this assigns a function to a new term 'content_sidebar_layout_blog_page' which makes the layout 'content-sidebar' to which I assign this functions to the page titled Blog -> is_page( 'Blog' ).
Makes sense but don't want to white screen my site!
mark_sMemberThanks guys. Forgive my inexperience, but if I wanted to add a sidebar to my blog page only, http://www.example.com/blog/ then I would add the following code to my theme functions.php file. Hesitant to change functions.php without asking the pros first!
-------------------------
add_action( 'genesis_meta', 'sk_force_layout' );
function sk_force_layout() {if ( is_singular('blog' ) ) {
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_sidebar_content' );
}}
mark_sMemberThanks Susan
I have checked my functions.php files and it is not disabled.
Different layouts in "Layout Settings" still un-selectable. It will only use default.
Is there some code and a Custom Body Class I can use (I've seen something suggested around this, mostly to turn them off from being default)? Or can I somehow enable a Sidebar page under Page Attributes > Template dropdown?
Many thanks
MarkJanuary 22, 2014 at 1:44 am in reply to: Disable Header Widget in Responsive Mode (e.g., Mobile) #86400mark_sMemberSimple as that! Thank you so much Andrea.
-
AuthorPosts