Forums

Hide text from page lnks (4 posts)

  1. aHao
    Member
    Posted 3 weeks ago #

    Hi guys, I'm really new to wordpress and I've only been trying it out for couple weeks. I do have a basic knowledge of PHP.

    My question is simple: how do I hide the text from page links so I can replace them with an image (and roll over hover)?

    I already put a image on the background, but I can't get rid of the text.

    This is the link:
    http://cmdstud.khlim.be/~tthai/wordpress

    As you can see, in the header there's a 3 button navigation. I got rid of the home text, but I can't get rid of 'about tnt' en 'portfolio' text.

    Usually i would use <spans and then style them to hide, but how do I add those span tags into the function. I try looking up the function wp_listpages in template but I can't find where I can edit it to my likings.

    Hope you guys can help me

    p.S: don't mind the rest of the website, it's FAR from finished and this is one of the 10 000 questions i will post :)

  2. MichaelH
    moderator
    Posted 3 weeks ago #

    Look for either wp_list_pages() or wp_page_menu(). Both have an include= argument available, and wp_list_pages has an exclude= argument you might use.

  3. aHao
    Member
    Posted 3 weeks ago #

    Hey, i don't think that's what I'm looking for. I still want to display the pages, but just not the text. Or find a way to hide it. I just want to make a textual page link, into an image-ual page link (without text).

  4. MichaelH
    moderator
    Posted 2 weeks ago #

Reply

You must log in to post.

About this Topic

Tags

No tags yet.