Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiple content areas
#4
The area would be the same across the whole site but I need to call it with a separate navigation.
My current suggestion:

Create a custom field named 'link' and add an anchor to it, add a jQuery script to check clicks on these, let's call it footer links (e.g. '#footer-downloads'. Whenever a footer links in clicked, the content should be loaded via ajax post to a php function within a functions.php file, to call getPageContent.
So far so good, but here I have a general question:
How can I access the getPageContent function from php file lying somewhere in the theme folder?
Reply


Messages In This Thread
Multiple content areas - by b3n.ji - 2013-08-28, 18:40:00
RE: Multiple content areas - by b3n.ji - 2013-08-30, 18:08:38
RE: Multiple content areas - by Carlos - 2013-08-30, 23:07:58
RE: Multiple content areas - by b3n.ji - 2013-09-02, 21:58:40



Users browsing this thread: 1 Guest(s)