query_posts on Minimatica custom page

Viewing 6 posts - 1 through 6 (of 6 total)
  • #14952
    Tibu
    Participant

    I’ve struggled for days now with showing on custom pages same content as on category/page. I changed the code so there’s max 5 first page slides and they link to pages + some other small modifications and everything is exactly as I want. Bottom menu takes you where I want also first pages slides to take. To accomplish that with also first 3 slides I made a custom page for them to use:












    But as you may see
    http://eggblog.digidragons.com/recipes/
    doesn’t look like
    http://eggblog.digidragons.com/category/recipes/
    which I’m so desperately after. Please help me to fixt this custom page code. I’ve tried all kinds of lines there, but nothing has worked jet.

    #14954
    Tibu
    Participant

    For some reason I can’t even figure out how to show code or picture of the code in this forum πŸ™

    #14955
    Tibu
    Participant

    #15140
    Daniel Tara
    Keymaster

    Try putting the call query_posts() on the first line of the template, before the call to get_header(). This way the query will be executed before the call to body_class() in header.php and the correct classes will be outputted.

    To display code, try Pastebin.

    #15218
    Tibu
    Participant

    Didn’t work. But I got some of it under control using class archive after get header (in more detail explained there http://wordpress.org/support/topic/query_posts-on-minimatica-custom-page ). Posts titles are still weird.

    #15512
    Tibu
    Participant

    Changed .page .entry-title font size in CSS which took care of the last part also.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.