I've got a link to one of my theme's custom pages (called publications.php), which looks like this:
">My linked pageI want the link to go to that page, but to a specific named anchor, say,
some textI think I need to write a custom function to do this, but could use some ideas on how to handle the syntax.
TIA for your help!
Comments
I want to put a link on some text that appears of my custom pages. This link goes to another custom page - I know how to do that. But I want the link to go to a specific named anchor on that linked page.
This is the link as it now appears, just linking to the second custom page:
`">You can see our publications by clicking here`
But I want the link to go to a named anchor on the 'publications' page. The specific anchor is expressed in the ordinary way:
`Some text here`
So, I need to figure out how to modify the getCustomPageURL function so that it allows me to insert the correct anchor name.
Btw, the function has also a parameter for query additions (which an anchor basically is).
http://www.zenphoto.org/news/theming-tutorial#part-2
Thanks again for your help!