This topic has 3 replies, 2 voices, and was last updated 9 years by Laura.

  • Author
  • #137074
     syedsameerali0011
    Participant

    Dear 7th-queen,

    I was wondering if I could set a fallback featured image as a placeholder with a different image based on the category of the post.

    I have tried various plugins which claim to do so but did not have any success.

    I Understand you do not offer custom theme configuration included in the support, the reason of which i understand and acknowledge.

    It would be  a great help to me and I would infinitely appreciate if you could point me in the right direction as to how i might achieve this in the kleo theme.

    I would like to mention this is the start of my journey into web design and your guidance and expertise is of immense value and importance and goes a long way in encouragement and motivation for me.

    Thanking you sincerely,

    Sameer Ali

     

    #137272
     Laura
    Moderator
    Hello, you can do that by manually selecting the image at each post. But if i understood right, you want to have each post feature image to be the category they are in, so all share the same if they are in the same category? The easier way would be manually. To do it automatically you can do 2 things, 1- Create a function that assigns a feature image depending on the primary category of the post 2- Edit archive.php to filter categories and change the feature image url with css depending on the category. Both are complicated so i do suggest to hire a developer to do it
    #138421
     syedsameerali0011
    Participant
    Not marked as solution
    #138772
     Laura
    Moderator
    Not marked as solution
Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?