Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,692
- How-to & Troubleshooting
- 128,226
- Creating & Extending
- 25,679
- Requests & Feedback
- 9,405
- Third Party Plugins
- 9,753
- Showcase
- 3,321
- Ideas
- 1,349
- Miscellaneous
- 8,879
-
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
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS