How to display the content on member page
-
Hello,
I’d like to display the content (present in admin) on the members directory page on frontt.
I’ve checked the members-loop template file but don’t find any info about it.var_dump($post); display:
object(WP_Post)#17484 (29) { ["ID"]=> int(0) ["post_author"]=> int(0) ["post_date"]=> int(0) ["post_date_gmt"]=> string(19) "2016-08-02 12:31:43" ["post_content"]=> string(0) "" ["post_title"]=> string(11) "Les Membres" ["post_excerpt"]=> string(0) "" ["post_status"]=> string(7) "publish" ["comment_status"]=> string(6) "closed" ["ping_status"]=> string(6) "closed" ["post_password"]=> string(0) "" ["post_name"]=> string(7) "membres" ["to_ping"]=> string(0) "" ["pinged"]=> string(0) "" ["post_modified"]=> string(19) "2017-01-19 14:32:56" ["post_modified_gmt"]=> string(19) "2017-01-19 13:32:56" ["post_content_filtered"]=> string(0) "" ["post_parent"]=> int(0) ["guid"]=> string(25) "http://localhost/membres/" ["menu_order"]=> int(0) ["post_type"]=> string(4) "page" ["post_mime_type"]=> string(0) "" ["comment_count"]=> string(1) "0" ["filter"]=> string(3) "raw" ["is_404"]=> bool(false) ["is_page"]=> bool(true) ["is_single"]=> bool(false) ["is_archive"]=> bool(false) ["is_tax"]=> bool(false) }
How to getpost_content
?many thx
- You must be logged in to reply to this topic.