Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,003
- How-to & Troubleshooting
- 129,568
- Creating & Extending
- 25,789
- Requests & Feedback
- 9,496
- Third Party Plugins
- 9,791
- Showcase
- 3,316
- Ideas
- 1,385
- Miscellaneous
- 9,169
-
in fact, i don’t need to retrieve the blog description as it has only one field.
what i try is to get the content of a page (if possible with custom fields) from each blog.
I am able to retrieve the title of the post with ID=1 from each blog
here is what i’ve done so far
in the blogs-loop.php
global $blogs_template;
$post_id=1;
$info_post = get_blog_post($blogs_template->blog->blog_id,$post_id)->post_title;
and it gets the post ID=1
how to get a page (and not a post) with the name of the page ?
i try to use get_page_by_title(‘info’); but it doesn’t work
plz help