• Resolved iszlq

    (@iszlq)


    I was able to change the headings for everything except “Pages” and “Sites.” I am not looking to use an image for the titles of all the posts, or of the links, just the names of the sections… i.e.,

    Pages (want this to be an image, i.e., my own font, etc.)

    Page Name 1 (but these are fine as text)
    Page Name 2
    Page Name 3

    Sites (want this to be an image)

    Site Name 1 (fine as text)
    Site Name 2
    Site Name 3

    Does anyone know how I can do this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Usually look at the theme in sidebar.php and make the proper change there. Themes are under /wp-content/themes/[theme name]

    You could also perhaps do it in the corresponding CSS file.

    Thread Starter iszlq

    (@iszlq)

    This is what the lists looks like in the code:


    <?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?>
    <?php get_links_list(); ?>

    I can do this:

    <?php wp_list_pages('title_li=<h2>Articles</h2>' ); ?>

    and change from something that looks like this:

    Pages

    Page 1
    Page 2
    Page 3

    to this:

    Articles

    Page 1
    Page 2
    Page 3

    But I cannot replace the <h2>Pages<h2> with this:

    <img src="image.gif">

    Also, there is no way that I can see to change “Sites” which is the name I gave my links list to an image.

    Does anyone know how to do this?

    Lisa

    Try just adding the <img src=”image.gif”> between the <h2> </h2>

    Thread Starter iszlq

    (@iszlq)

    I tried that, but it doesn’t work. For ‘Pages’, I can remove everything between the <h2> tags and use a separate line for the image. But the way the links are set up prevents me from changing the word “Sites” which is the name I gave my list of links. If I try to remove the name of the list, it deletes the list. Still looking for ideas. I might need a separate bit of PHP code?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Changing “Pages” and “Sites” to Images’ is closed to new replies.