Forum Replies Created

Viewing 15 replies - 16 through 30 (of 70 total)
  • Thread Starter raindance

    (@raindance)

    Romain-
    Sorry I don’t know why it’s not working, but for sure you should consider setting up a child theme. Read about it on the Graphene forum. If you search by threads by my raindance name, you’ll find a conversation about it. It’s easy to set up but you’d have to get all your customizations tied into it. If you can live with that headache once then you’ll never not be able to easily update. A child theme is just sort of a sub-set of your theme. It’s still Graphene, but you have a functions file which overrides specific bits as you wish to customize. Then when the theme or WP is updated, you don’t ever lose your customizations. It really makes a huge difference.

    Check out the Graphene forum threads on it, spend the time to have a child theme and you will be forever glad you did it as updates happen!

    Thread Starter raindance

    (@raindance)

    It totally makes sense, thank you so much for explaining it so clearly and for your patience with me! It’s so fun to have it working…thank you!

    Thread Starter raindance

    (@raindance)

    Ohhhhhhh my fault entirely…
    I thought the flight-deals needed to be IN the juicy-travels-blog folder…but no it needed to up a level…
    And VOILA works perfect…sorry! My fault!

    So the trick is to be sure for pages to:
    1. Put the page id in the array with the category id
    2. put the folder named after slug of page title in the images/custom-headers/ folder, not inside the slug named folder of the parent category.

    Which now that I read it for the third time I think you explained perfectly and I just missed it…yeay!

    So wonderful to have this dialed in…THANK YOU! ??

    Thread Starter raindance

    (@raindance)

    I just added the page id in like this:
    /* CATEGORY AND PAGE IDS FOR CUSTOM IMAGES */
    $custom_image_ids = array(52,220); // modify at will

    But it still doesn’t show the images from the /custom-headers/juicy-travels-blog/
    or
    /custom-headers/juicy-travels-blog/flight-deals

    Page id is 220, slug is flight-deals

    I tried disabling map categories to plug in page but realized then it has no idea that the page id goes to that blog category, nor anyway to assign pages to categories, right? So I re-activated it.

    It’s not a disaster, I can use single images, but if I’m just doing something wrong then I ought to correct it.

    It’s still working good for the blog posts and category archive page.

    Thread Starter raindance

    (@raindance)

    Ok will try it now…thanks!
    Sorry…server was down all morning, arrgh.

    Also did you get my email?

    Thread Starter raindance

    (@raindance)

    So Im thinking I must be doing something wrong…
    I’ve got the same..
    https://juicytravels.com/category/juicy-travels-blog/

    And the page is
    https://juicytravels.com/flight-deals/

    Its assigned to the category Blog (slug = juicy-travels-blog)
    I use Map categories to pages (it doesn’t seem to show sub categories hierarchy though)

    But that page still shows the general site headers?
    Where have I gone wrong? ??

    Thread Starter raindance

    (@raindance)

    Wooohoooooooo no way really?? You ROCK! You are my hero ??

    I’ll post it in Graphene now…your ears must have been burning…someone always very helpful in that forum just said “wow so happy to see you solved it finally” as he’s watching this thread also…and there you are with an even better solution!! Yipppeeee!!!

    THANK YOU MARVELOUS MARVENTUS!

    Thread Starter raindance

    (@raindance)

    Thank you so so so so much!!! I am so grateful!!!

    Thread Starter raindance

    (@raindance)

    And is ok to post this on the Graphene forum on your behalf to close out my three open threads on this topic? ?? I think other people will really be able to benefit from this!

    Thread Starter raindance

    (@raindance)

    Well…I think so long as I can assign a single image to a particular page it’s not worth the effort.
    If it were a plug in or something I’d say it would be nice if it could do both. By the way this would be a very popular plugin I think! ??

    You did such an awesome thing for me to do this…thank you so very much.

    How would I contact you directly if I had a project?

    Thread Starter raindance

    (@raindance)

    Yes you were right ?? Of course.

    Thread Starter raindance

    (@raindance)

    Well I was totally wrong! It didn’t work for pages.
    So actually..what we have now is fine because it just occurred to me I can use a featured image and just make it bigger than the header size so I can always assign a single relevant image for a page, it just won’t have the benefit of being part of that random rotating from a folder option. I can totally live with that.

    Do we know of any custom header option for PAGES not posts that lets you assign random images from a folder like we did for the posts? ??

    Sorry if I confused you or was confused myself…I thought we were doing it for pages and posts but if it can’t be done then it can’t be done and a single specific header on a page will work. I’d rather be able to do like we are doing and give a page a random rotation but it’s not all that important.

    I think what you have done is so wonderful…thank you so much! And I really so impressed with your commenting…that sure makes it easy for someone else to follow it.

    Is it ok if I post it with credit to you on the Graphene forum so I can close out those threads?

    I am so so grateful to you…I spent weeks trying to solve this one! THANK YOU!

    Thread Starter raindance

    (@raindance)

    Actually I always wanted it to be for pages and posts…I just read back through the beginning of our thread here and I did say that. I’m wondering if it might be do-able since my original code from Syahir was working for regular pages…just not the category archive page.

    Let me try to put it back to what he originally gave me and confirm that this is true…

    Thread Starter raindance

    (@raindance)

    See how on the main blog category page (perfect)
    https://juicytravels.com/category/juicy-travels-blog/

    The bottom one called Flight Deals is a page…but so when you click on it you see the main site header not the blog header…I was hoping to be able to include both posts and pages in a category and have them show the header assigned to that category, like “blog”…
    ?

    Thread Starter raindance

    (@raindance)

    Hey! I was wrong! I had to clear my cache a few times and that part works great..never mind, sorry!

    So the only potentially big question is…can we also make this work for pages as well as posts?

Viewing 15 replies - 16 through 30 (of 70 total)