DezD

Member

Forum Replies Created

  • In reply to: Navigation Title without link

    #37791

    Hi Prasanna

    Yet again you come to my rescue, many thanks, all sorted now

    Speak soon.

    Deryn

    In reply to: Category posts on specific pages

    #37744

    Hi Cheslights

    Spot on, thank you….. This has saved me shed loads of time as well as losing what little hair I have left.

    I just need to look further into setting up the CSS for the page in respect of the thumbnail and how to improve the overall look.

    Many thanks again.

    Deryn

    In reply to: Category posts on specific pages

    #37742

    Oops.. did it again

    http://www.thetravellerschronicles.com/

    Thanks

    Deryn

    In reply to: Category posts on specific pages

    #37740

    Hi Kenneth

    Sorry for the delay in responding, I’ve been at work all day, but at least it’s now back to doing something that I enjoy, despite the frustration at my lack of knowledge…

    I see what you mean about the category selection in the sidebar but that’s not quite what I am trying to achieve.

    Each time I create a new post and assign it a category I need that post to be featured on a specific page. If you look at my site you’ll see a page for Resort Guides, each post with the that category needs to be displayed there, or, as an alternative on that page would be a precis of the post with a Read more link just as is currently shown on the main Blog page.

    As I have several other pages planned, each to feature only certain posts I would like to know if there is a way to achieve this?

    Hope to speak soon

    Best wishes

    Deryn

    In reply to: Category posts on specific pages

    #37737

    Hi Kenneth

    Right, here goes…

    From what I’ve been able to glean from looking around I have done this:

    1. made a copy of the themes category.php file and named it category-“category-name”.php

    2. Added :

    <p>Category: <?php single_cat_title(); ?></p>
    <?php if ( $paged < 2 ) : ?>
    <p>Text for first page of Category archive.</p>
    <?php else : ?>
    <p>Text for subsequent pages of Category.
    Can be left out.</p>
    <?php endif; ?>
    below the <h1 class="page-title.... section

    3. I now need to add a "Loop" to override this section:
    /**
    * Run the loop for the category page to output the posts.
    * If you want to overload this in a child theme then include a file
    * called loop-category.php and that will be used instead.
    */
    while ( have_posts() ) {
    the_post();
    get_template_part( 'loop', 'category' );
    }

    Am I on the right road here?????

    My questions are now, what form would the loop take to only display posts with specific category slugs using this file and how do I select/add this file to a particular page on the site to display the correct posts?

    Or am I completely barking up the wrong tree??

    Hope you can help a blatantly obvious amateur here.

    Thanks

    Deryn

    In reply to: Category posts on specific pages

    #37736

    Hi Kenneth

    From what I understand then I have to create a new category template to act as the page upon which I can feature certain posts of the same category?

    Is that correct?

    Hope to speak soon

    Best wishes

    Deryn

    In reply to: Footer broken

    #37693

    Hi Syahir

    Thanks for that, I’ve tried it and it works. I will spend some time to see if I can make it look just how I need to be.

    Best wishes

    Deryn

    In reply to: Footer broken

    #37691

    Syahir

    Thanks for taking the time, it turned out to be a plugin called “Theme My Login” which allows the login page to be same as the theme but for reason it created a footer full width.

    Unfortunately I don’t have time to fiddle with it yet, (and I’d probably break it anyway!!).

    Can this be done any other way, perhaps directly through the Graphene Theme? It would be so much nicer to have the login page look just like the rest of the site.

    Hope to speak soon

    Deryn

    In reply to: Site takes almost a minute to load.

    #37698

    Hi Alan

    I’ve just tried your site and it loaded pretty quickly, less that 3 – 4 seconds which is pretty good.

    I would suggest getting rid of the page counters as they don’t really do anything for the site, its appearance you actually provide any meaningful statistics.

    You’d be far better of registering with Google Analytics and installing their tracking code. The results are pretty spectacular if you need to know just how “busy” your site is.

    Hope this helps.

    Regards

    DezD

    In reply to: Footer broken

    #37689
    Quote:
    Here is the link:

    https://forum.graphene-theme.com/graphene-support/footer-width#post-31958

    Sorry for that. It’s what happens when you’re up past your bedtime. 😉

    So yes, the validator is correct. Save your page as an HTML document, then open it in a text editor and navigate to line 310. Try to identify which main ID that is in: #content, #sidebar, etc. That should point you in the right direction.

    Hi Kenneth

    I know what you mean, I’m at work all day then come home to get on building this site for a friend. Where are you based?

    I took a look at the post link above which mentions a text widget but I’m not using one at the moment. I tried saving as an html doc but sorry to say, I’m getting lost in it, any ideas please?

    Hope to speak soon

    Deryn

Viewing 10 posts - 41 through 50 (of 72 total)