Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter gabrielsolomon7

    (@gabrielsolomon7)

    Thanks joshuabaer23 for solving this problem! However, I was following the short code instructions precisely, and there is nothing on the help page to indicate that those tags should have been removed.

    I can see how the word yuk sounds ungrateful if not demeaning. I really appreciate all of the work that developers put into wordpress and plugins. Thanks!

    Thread Starter gabrielsolomon7

    (@gabrielsolomon7)

    I got some help on this from makapa in another thread. I made the following entry to my functions.php file:

    add_filter( 'sidebars_widgets', 'oxygen_disable_sidebar_right' );
    
    function oxygen_disable_sidebar_right( $sidebars_widgets ) {
    
    	global $wp_query;
    
    	    if ( is_page_template( 'ModifiedBookmarks.php') ) {
    		   	$sidebars_widgets['secondary'] = false;
    	    }
    
    	return $sidebars_widgets;
    }
    
    	add_action( 'sidebar_widgets', 'oxygen_disable_sidebar_right', 11 );

    That got rid of the sidebar. To get my content to flow to the right, I then looked inside of that same template and found the content div ID of the material in question. I renamed <div id=”content”> to my own name <div id=”2CL-content”> (for two columns with sidebar on left; I wanted to make the name specific and unique but not to complex). Following that, I was able to add the code below to my style.css:

    /* #2CL-content: For allowing text to flow to the right of the page on pages where there
    are only two columns with the sidebar on the left.*/
    
    #2CL-content {
    	float: left;
    	width: 100%;
    	margin: 0 0 30px;
    }

    I have begun adding notes to my modifications along the way so its easier to keep track of my work. When I am done or feel more comfortable, I can then take out those notes if necessary.

    Thanks to all who posted on other threads and helped me solve this.

    gabrielsolomon7

    (@gabrielsolomon7)

    @katklopp,

    That’s great! Can you figure a way to do that only on a certain page? Say, a page with a custom template that you can specify in the functions.php file?

    Many thanks, Gabriel

    Thanks!

    Thanks STX! I have made a child theme already and begun to work with it. I will try your method. I looked at your site and I’ve noticed that you are able to give each page a name rather than a generic identifier such as ?page_id=24 . Did you simply edit the permalink?

    Thanks again.

    I have exactly the same question. My site is local so I can’t link to it, but I would like to add static text to the front page only, beneath the featured slider and recent articles. Thanks for your help.

Viewing 6 replies - 1 through 6 (of 6 total)