Page name variable wordpress
In wordpress, it calls comienzoweb.com then whatever template name or the page requested. How can I declare a variable in my php header which I can then refer to in my other templates? WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. How to set global variables in template page? Ask Question 2. I know this works. In containing all global variables as a key-value pair. ie: the key will be the variable name, and value will be the value of the variable. How use $_GET variable in a Wordpress page. Ask Question 2. I have a form for asking information about courses, every course has it page, but the information page is one for all. and the in the wordpress page can be used the name of the shortcode [couse_name] Now its work! share | improve this answer. Why I could not assign a wordpress.