Developer Ajay
Sunday, 20 August 2017
How to get parent page id and title of current page(child page) in wordpress?
Here is the code for get parent page id and title of current page(child page) in wordpress?
global
$post
;
echo
$post
->
post_parent
;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Google Map Filter Api Example
Here is Google Map Filter Api Example:
Google Map Filter Api Example
Here is Google Map Filter Api Example:
Add multiple categories to body class Wordpress
SOLUTION You can add this code to your custom functions.php file: function add_categories ( $classes = '' ) { $categ...
No comments:
Post a Comment