• Resolved sulfurito

    (@sulfurito)


    Hello, I’m trying to create a “hand made” menu on “header.php” as the tool in admin panel is not enough because I use images,text, etc.

    The thing is I don′t really know what I have to write in the href of each <a> tag to link to:

    a) A post
    b) A category

    something like <a href="/category?cat_id=XXX"> or better <a href="/category?cat_name=XXX"> using the slug?

    and something like <a href="/post?post_name=XXX">?

    What is the correct link for post and category?

    Thank you

Viewing 1 replies (of 1 total)
  • Thread Starter sulfurito

    (@sulfurito)

    Silly me! I just found out for posts I have a url in the post edition tool and form categories I only need to extract the folder part from a post, sorry!!

    Thank you

Viewing 1 replies (of 1 total)
  • The topic ‘Create your own menu’ is closed to new replies.