Forum Replies Created

Viewing 8 replies - 16 through 23 (of 23 total)
  • Thread Starter thunderseed

    (@thunderseed)

    Not sure if I get your question, but if you take a look at the theme (yoko) I am currently using at stellarbeam.com (which is not twentyeleven) the featured content slider is above the page content, underneath the header, right where it’s supposed to be.

    This is what I keep trying to do for twentyeleven but it just doesn’t work. Nothing I edit for page.php works for my twentyeleven theme.

    There is something wrong with my twentyeleven theme. Did you by chance look at the above code to see if I had messed it up or not haha?

    Maybe I should just replace it. Can I find a fresh page.php file anywhere? Do i just re-download the theme? Because this one I have is not working properly. I just updated my wordpress to the latest version, but I’m still having the same issue with the twentyeleven theme.

    Thanks for all the help!

    Thread Starter thunderseed

    (@thunderseed)

    So basically, that child theme download I just downloaded to my site for twentyeleven in the link you posted is good to go… i don’t have to do anything else? That’s it? If so that is the easiest thing in the world! ??

    Thread Starter thunderseed

    (@thunderseed)

    By the way I really like your site Voodoo, thanks for the links. Your explanations are easy to understand and well written. I will be busy with the child theme creating now lol.

    Thread Starter thunderseed

    (@thunderseed)

    oh and in case you were wondering more about the dynamic content gallery the configuration guide is here: https://www.studiograsshopper.ch/dynamic-content-gallery/configuration-guide/

    Maybe it doesn’t work with twentyeleven theme, but i did contact support there too. They did not give me any clue to as whether or not it worked for twentyeleven other than telling me twentyeleven was difficult to work with, which i can tell haha. And as i said before, it works fine in all other themes i’ve tried.

    Thread Starter thunderseed

    (@thunderseed)

    well here goes nothin, ill see if this works, perhaps i messed it up somehow does anyone have an original copy of this to see

    <?php
    /**
     * The template for displaying all pages.
     *
     * This is the template that displays all pages by default.
     * Please note that this is the WordPress construct of pages
     * and that other 'pages' on your WordPress site will use a
     * different template.
     *
     * @package WordPress
     * @subpackage Twenty_Eleven
     * @since Twenty Eleven 1.0
     */
    
    get_header(); ?>
    
    		<div id="primary">
    
    			<div id="content" role="main">
    
    				<?php while ( have_posts() ) : the_post(); ?>
    
    					<?php get_template_part( 'content', 'page' ); ?>
    
    <?php if( is_front_page() ) {
    dynamic_content_gallery();
    } ?>
    
    					<?php comments_template( '', true ); ?>
    
    				<?php endwhile; // end of the loop. ?>
    
    </div><!-- #content -->
    		</div><!-- #primary -->
    
    <?php get_footer(); ?>
    Thread Starter thunderseed

    (@thunderseed)

    Thanks again Rev,
    Ah I see, it’s the updates that will lose the prior theme, that makes sense. I guess I will have to make a child theme. Or if I happen to find a similar theme exactly like twenty eleven but even better that would be awesome, but I doubt it, I’ve tried on lots of themes and don’t like em.
    I was wondering if I could ask you a favor? If I happen to run into issues while making the child theme, could I email you for assistance? I’m pretty good at following instructions though, the instructions in your links are easy and straightforward. I’m guessing there is a lot more to it than just installing the bare child theme, probably got a days work ahead of me.
    Thanks for the test page, how come i can’t do it! This means there is something internally wrong with my theme, maybe i’ve done something to mess it up. Great. If page.php works for you, then its something wrong with my thingamajig.
    I’ve tried that so many times. Even when i just write something there it doesn’t show up.
    I’m not sure how to display code here, hopefully this works: `<?php if( is_home() ) {
    dynamic_content_gallery();
    } ?>This is the short code im trying to work with. It is part of the plugin called Dynamic Content Gallery, so you wont get anything showing if you dont have that installed. It's not working for me at all. It works in all other themes I've tried. Alternatively there is this one:<?php dynamic_content_gallery(); ?>` This makes it display on all pages, the prior one makes it display on just home page.

    I’m not sure why it’s not displaying, but no matter what i try to display on page.php it doesn’t work. It does not effect any of my pages at all. Nadda. Maybe it is dysfunctional. Because this should be working.

    Ideally this is the line this short code is supposed to be above <div id="content" role="main">which is still above the loop. perhaps i’ll have better luck just switching to another theme. I don’t have to make a child version for other themes do I? Just making sure. But man, this is frustrating i wanna figure it out.

    I have no clue if the codes I pasted are going to show, though i wrapped them in “code” above haha.

    I have no idea what the problem could be. Maybe i should post my entire contents of page.php to see if it differs from the original? Maybe somehow i messed it up. If my code shows up here, then ill do that.

    Thanks for your patience!

    Thread Starter thunderseed

    (@thunderseed)

    Thanks Rev. Voodoo,
    Why will all my changes eventually be lost, how is that possible? Is that a sure thing, why would it come with a theme that would eventually break my site or vanish. Isn’t there somewhere I can just download a child theme? Because it sure does not sound simple.

    I already know that content-page.php is part of page.php, that was obvious within two seconds of my search to find the proper placement. Yet that still doesn’t change the fact that I don’t know where to put it (the code to get my thing to show up on my static homepage).

    Are you telling me where the static page is effected? I’m just not quite sure what you were writing about in that last bit. Yeah I sort of get how get_template_part works, basically it’s just a thing that connects to another thing, that is part of that main thing, can you please tell me what this has to do with my static page and thus where i put my code to effect my static page?

    No, page.php does not work for the page output for twentyeleven. (At least not for my twentyeleven) That’s what I’m saying.
    I know what i’m doing, I have put the same code, exactly where it is supposed to go in other themes just to test it out to see if it was the theme or a stupid mistake I was making.
    It is the theme, not me. The code is supposed to go above the div id line in page.php. It works fine in all the other themes, but not twentyeleven. That means either my twentyeleven theme is dysfunctional, OR static page is effected some other way in twentyeleven than it is for other themes and i need to find a different placement and i highly doubt my theme is dysfunctional so its obviously a different placement.
    I was hoping someone could tell me where that is, bluntly.

    content-page.php works, but it ruins my content. By ruin I mean it simply replaces ALL my content with a random post, and i do not want that. This may obviously be, because I am placing it within a loop, or in the wrong spot, or in the wrong template. Which is why i need to know exactly what the path is to where the static page is effected.

    When i say content-page.php works, i mean that the code for the gadget i want to show up on my static page actually shows up, and works completely fine. BUT it ruins my content like I said above. So far content-page.php is the closest I have found that affects anything for the static homepage.

    This is still not resolved! Stupid twentyeleven theme LoL

    Thread Starter thunderseed

    (@thunderseed)

    Update: I now know for sure this is a problem with the twentyeleven theme.

    Because editing page.php for static page works fine with all other themes I have tried. I have done tests, inserting code just before the div id line before it turns into a loop on page.php.

    Changes should be showing up on page.php but noooo. Why is twentyeleven not working for static pages? I thought this was supposed to be a default theme, so you would think it would have that option.

    Anyone know, doesn’t anybody?

Viewing 8 replies - 16 through 23 (of 23 total)