ciao a tutti…
ho un tema con un header molto alto…
quindi quando apro un post in single.php ho bisogno che l’url punti ad un’ancora appena sopra il contenitore del post e non in cima alla pagina…
per intenderci, faccio cosà¬:
<h2>#post-<?php the_ID(); ?>"><?php the_title(); ?></h2>
come faccio a fare la stessa con i link del menu generale che puntano alle pagine?
come implemento questa cosa in wp_list_pages ???
mi verrebbe da dire che potrei impostare in function.php che ogni link generato da wp_list_pages finisca con #pippo
voi come fareste?
grazie un saluto a tutti...