Function get page by name only works with one word names
-
This code:
<?php $events = _get_page_by_name(”); ?>
gets the page with the name specified – but ONLY if the page name is one word. Any two or more word page name will not function. How can I call a page with this method that has two words in the name, ie: a page titled
About Me
the code <?php $events = _get_page_by_name(‘About Me’); ?> does not work. Any way to get that working with multiple word titled pages?
thanks
JSC
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Function get page by name only works with one word names’ is closed to new replies.