Change layout of Project Page
-
I have been able to edit templates however, I cannot change the order in which the elements display.
I have found projects-hooks.php in /plugins/projects-by-woothemes and have changed the lines:
add_action( ‘projects_single_project_summary’, ‘projects_template_single_description’, 10 );
add_action( ‘projects_single_project_summary’, ‘projects_template_single_meta’, 20 );To :
add_action( ‘projects_single_project_summary’, ‘projects_template_single_meta’, 10 );
add_action( ‘projects_single_project_summary’, ‘projects_template_single_description’, 20 );But is that the right way to do it? can I copy these files into my template directory as well? Is there another way to access this action?
I am very green with regards to hooks and filters and still don’t fully understand the concept – Should I not touch this file?
- The topic ‘Change layout of Project Page’ is closed to new replies.