[Resolved] adding classes to wp_list_pages
Hi 🙂 so I am trying to transform a regular div css layout to wordpress and I got everything working but am having problems with my page listing. I need to add a <a class= tag to the coding and i have no idea how to do that??? can it be done. My menu is in my header so i need it to be able to span across left to right instead of up and down.
that is the basic code i use to call my pages but i have no idea how to add the a class tag to it without messing it up
any help would be greatly appreciated.
<?php wp_list_pages(‘sort_column=menu_order&depth=1&title_li=’); ?>
- The topic ‘[Resolved] adding classes to wp_list_pages’ is closed to new replies.