• Resolved hob1017

    (@hob1017)


    Hello everyone, I am currently experiencing similar issues that other were with the plugin. More or less, I’ve copied the fullwidth-post.php file into the /wp-content/themes/gallery/thematic directory, but the drop down boxes still do not appear when creating posts. I’ve read that this plugin should be working fine in WP 3.2.1, so I wanted to verify I was entering the code correctly.

    I have tried two types of headers.

    <?php
    /*
    Template Name Posts: Snarfer
    */
    ?>
    
    <?php
    /**
     * Template Name Posts: Full Width Posts
     *
     * This Full Width template removes the primary and secondary asides so that content
     * can be displayed the entire width of the #content area.
     *
     */

    and just

    <?php
    /**
     * Template Name Posts: Full Width Posts
     *
     * This Full Width template removes the primary and secondary asides so that content
     * can be displayed the entire width of the #content area.
     *
     */
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Simon Wheatley

    (@simonwheatley)

    Those template headers look fine. Are you using a child theme? Are your templates in the root (bottom) folder of the theme, alongside the official templates like index.php?

    Thread Starter hob1017

    (@hob1017)

    Under themes it is titled Gallery 1.5.3 by Chris Wallace for UpThemes, but I do see a folder titled thematicsamplechildtheme. So im not sure if it is considered a child theme. There are two root folders associated with this theme “gallery” and “thematic” and I originally placed it in gallery. I moved the .php file to the thematic folder and the drop down box now appears.

    There is still a side bar on the right just like the pages have. When I post an image I use the box “Path to Full-Size Image (500×375)” and put the file location, but nothing appears on the site. I can still upload/insert in the big text box, but it puts the image into the side bar.

    Im going to mess around with it a little and make sure I did some things correctly. I copied the fullwidthpage over to the fullwidth-post just like it was mentioned.

    Any thoughts? Thanks for previous post as well.

    Thread Starter hob1017

    (@hob1017)

    Here is a copy of the fullwidth-post.php file. It looks like there is still a side bar, but also that possibly plugins like “sharethis” might override and place things on the side anyhow. Not really sure how all that works.

    <?php
    /*
    Template Name Posts: Fullwidth
    */
    
        // calling the header.php
        get_header();
    
        // action hook for placing content above #container
        thematic_abovecontainer();
    
    ?>
    
    		<div id="container">
    
    			<?php thematic_abovecontent(); ?>
    
    			<div id="content">
    
    	            <?php
    
    	            // calling the widget area 'page-top'
    	            get_sidebar('page-top');
    
    	            the_post();
    
    	            thematic_abovepost();
    
    	            ?>
    
    				<div id="post-<?php the_ID();
    					echo '" ';
    					if (!(THEMATIC_COMPATIBLE_POST_CLASS)) {
    						post_class();
    						echo '>';
    					} else {
    						echo 'class="';
    						thematic_post_class();
    						echo '">';
    					}
    
    	                // creating the post header
    	                thematic_postheader();
    
    	                ?>
    
    					<div class="entry-content">
    
    	                    <?php
    
    	                    the_content();
    
    	                    wp_link_pages("\t\t\t\t\t<div class='page-link'>".__('Pages: ', 'thematic'), "</div>\n", 'number');
    
    	                    edit_post_link(__('Edit', 'thematic'),'<span class="edit-link">','</span>') ?>
    
    					</div>
    				</div><!-- .post -->
    
    	        <?php
    
    	        thematic_belowpost();
    
    	        // calling the comments template
    	        thematic_comments_template();
    
    	        // calling the widget area 'page-bottom'
    	        get_sidebar('page-bottom');
    
    	        ?>
    
    			</div><!-- #content -->
    
    			<?php thematic_belowcontent(); ?> 
    
    		</div><!-- #container -->
    
    <?php 
    
        // action hook for placing content below #container
        thematic_belowcontainer();
    
        // calling footer.php
        get_footer();
    
    ?>
    Plugin Author Simon Wheatley

    (@simonwheatley)

    Your questions about images and the sidebar aren’t really something I can help with, but try over in the Themes & Templates section of these forums, and I’m sure some people will be there to give you a hand.

    Glad you’ve got the templates issue sorted now though!

    Okay, I ran into the same issue. Here is how I fixed it.

    In wp-content/themes/gallery

    edit the style.css file

    around line 380 comment out using /* */ or delete the following entry

    .page #content{
       margin-left: 320px;
       width: 620px
     }

    hope this helps someone else with the same problem. This is where all the formatting should be modified if you are editing the gallery child theme of thematic.

    Thread Starter hob1017

    (@hob1017)

    Thanks for the help. I haven’t messed with my website for a little because it was hacked, but now i’m checking it.

    Did editing your style.css file like that also affect the pages you create? They seem to have odd sidebars now. Also, I’ve tried doing this now and testing out the posts to see if they are full-width but it just go to a blank white page.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Custom Post Template] Gallery Theme, No drop down box’ is closed to new replies.