Forum Replies Created

Viewing 11 replies - 16 through 26 (of 26 total)
  • Thread Starter Papousek

    (@papousek)

    Thanks chinmoy29, tried that but it’s still showing only the titles.

    Thread Starter Papousek

    (@papousek)

    Sorry, I did select the code in the previous text, but for some reason it didn’t work, but turned sections of it into links instead… (?)

    Thread Starter Papousek

    (@papousek)

    Thanks, Esmi, but I don’t think that’s it. However _posts.php looks like it might be the correct place to look. It’s just that I’m so new to php that I don’t really know what to change there and so far haven’t been able to figure it out, only to change the appearance of the post titles or lose them altogether by fiddling with it a bit.
    I don’t know if it’s ok to post here code this long, hope it is, this is what the _posts.php looks like:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Thread Starter Papousek

    (@papousek)

    Many thanks for the help, I’ve now removed the sidebar from one page and will shortly be upgarding to the paid version of the theme which has several nice built-in page templates. ??

    Thread Starter Papousek

    (@papousek)

    That’s just what I did, only there wasn’t any template, I had to create it and do a couple of other adjustments as well.

    Thread Starter Papousek

    (@papousek)

    OK, getting there, this:

    <?php
    /*
    Template Name: wide
    */
    ?>
    
    <?php get_header(); ?>
    
    <?php if (have_posts()) : while (have_posts()) : the_post();?>
    
    <?php the_content(); ?>
    
    <?php endwhile; endif; ?>
    
    <?php get_footer(); ?>

    produced this. In the end it wasn’t necessary to adjust the page width.
    Obviously it would be nice to have the same kind of template box as there is on the pages with the side bar, but I can settle for what it is at the moment.
    Now I just need to figure out if it’s possible to put the language button somewhere where it would be visible without the sidebar…

    Thread Starter Papousek

    (@papousek)

    Just removed the double post, sorry!

    Thread Starter Papousek

    (@papousek)

    OK, getting there, this:

    <?php
    /*
    Template Name: wide
    */
    ?>
    
    <?php get_header(); ?>
    
    <?php if (have_posts()) : while (have_posts()) : the_post();?>
    
    <?php the_content(); ?>
    
    <?php endwhile; endif; ?>
    
    <?php get_footer(); ?>

    produced this. In the end it wasn’t necessary to adjust the page width.
    Obviously it would be nice to have the same kind of template box as there is on the pages with the side bar, but I can settle for what it is at the moment.
    Now I just need to figure out if it’s possible to put the language button somewhere where it would be visible without the sidebar…

    Thread Starter Papousek

    (@papousek)

    Well, at the moment I’m stuck creating the custom template for a full width page. Haven’t done this so much, and it looks like nothing is in where I would expect it to be in this theme. Can’t find anything like what’s described here or here, also there is no <div id=”contentwide”> in the code of the page.php.
    Also I should figure out a way to move the language selection box away from the upper left, or at least make it smaller, as it doesn’t look good like that and also distorts the image orientation. Somewhere next to the search box or even replacing it would be nice, only not sure if there’s a way to do that so that it would show up correctly. Looks like this is going to be trickier than I think… ??

    Thread Starter Papousek

    (@papousek)

    That doesn’t do anything I’m afraid.
    If I put <?php
    if(!is_page(‘SPECIFIC PAGE’)) get_sidebar();
    ?>
    to page.php, it results in the sidebar showing correctly on the selected page, but on the others there’s still a sidebar, only an empty one, and the language selection, which is currently the only item on the sidebar, is moved in a box of its own on the upper left hand corner. So apparently the page width would need to be changed as well, but also the empty sidebar is there still. Looks like this

    Thread Starter Papousek

    (@papousek)

    Thanks! The page.php of that particular theme doesn’t have that, I bumped into that solution already earlier and checked.
    The page.php looks like this: <?php
    get_header();
    get_template_part(‘library/template_posts’);
    get_footer();
    ?>
    I’ve also tried something similar to the first suggestion but it didn’t work, but I’ll give it another try. It’s probably something to do with the theme, or maybe I’m just putting it in the wrong place. However I really like the theme otherwise and would like to keep it…

Viewing 11 replies - 16 through 26 (of 26 total)