• Resolved jasonadams

    (@jasonadams)


    Is it possible to edit the Template Tag functions themselves? I’m having a bit of trouble with adding a link under the wp_list_pages function; if I manage to add a link, it messes with the way the function displays. So I’m beginning to wonder if it’d be best to tinker with the function itself.

    That’s two questions, I suppose:

    1. Is it possible to edit the Template Tags, and if so where are they located?

    2. Is it possible to add a link under the wp_list_pages function without messing up the structure? (I’ve tried given code in other threads, however they too mess with the structure when added, in spite of others claiming to have success with them.)

    Thanks!

Viewing 1 replies (of 1 total)
  • 1) In the wp-includes folder you can find many php files. Look at the ones postfixed with “-template”, for example, you can find the template functions of the categories in the category-template.php and so on.

    2) Try to make a backup of the original files or make a copy of the original function in the file and then modify it and put the original one into comments.

Viewing 1 replies (of 1 total)
  • The topic ‘Editing Template Tags’ is closed to new replies.