WordPress.org

Ready to get started?Download WordPress

Forums

Intrincated question about recent posts in MultiSite (22 posts)

  1. javistuff
    Member
    Posted 3 years ago #

    Hi, if someone could help me I would be very thankful, I've been browsing the forum and couldn't find one answer for this.

    I'm running a Multisite network, and would need to pull the latest posts from all of the sites in the network... divided into categories.

    Now, I've installed the Sitewide tags pluggin and have tried to use it with the separated tags blog, extracting the different /category/feed for each category. But this is resulting painful and not useful as the formatting gets lost in the way.

    I would love to know if there is a possibility to pick the choice of posting to the mainsite homepage, BUT instead of posting to the home.php page, post all the posts to another page that I could use as a blog inside my site, to be able to pull from there any category.

    I have read all the pluggin code but cannot seem to find where to modify something like this. Is there anyone that could tell me how to approach this?

    Really, really, lots of thanks!

  2. Now, I've installed the Sitewide tags pluggin and have tried to use it with the separated tags blog, extracting the different /category/feed for each category. But this is resulting painful and not useful as the formatting gets lost in the way.

    You could pull all posts to the main blog, then separate them put as you woudl if it were a single stand-alone blog. Easy-peasy here, just like setting up any magazine theme.

    I would love to know if there is a possibility to pick the choice of posting to the mainsite homepage, BUT instead of posting to the home.php page, post all the posts to another page that I could use as a blog inside my site, to be able to pull from there any category.

    Something like this?
    http://wordpress.org/extend/plugins/wordpress-mu-featured-posts/
    It pulls the feed tho, so there's the whole lost-formatting bit to consider.

  3. javistuff
    Member
    Posted 3 years ago #

    Hey, Andrea, thanks for answering!

    No, I mean, like a function INSIDE the sitewide tags plugin.

    I want to do the first option you named, I just don't know hot to actually "print" those posts on the homepage. When I tried setting the plugin to post on the homepage nothing changed there. Even after updating some posts. What would be the function I need to call (from the plugin) on the places I want the posts to show?

  4. If you;re using a regular wordpress theme, that pulls posts to the main page, then you shouldn't have to do anything.

    See? Http://homeschooljournal.net. I use it there.

    When I tried setting the plugin to post on the homepage nothing changed there.

    Are the blogs you posted to public? are they all in the same time zone?

  5. javistuff
    Member
    Posted 3 years ago #

    I supose the main page of my theme is a bit little more complicated. I just need to know if there is any php function I can use to pull the posts TO the main page from the tags blog.

    Is there any? I mean, what would you write in the editor for the main page if you want the recent posts of the nework to appear in some special place of it?

    (Thanks for your patience!)

  6. javistuff
    Member
    Posted 3 years ago #

    Or... how would you modify the plugin to make it put the posts in a normal page (not the homepage) of the same mainsite so it'll let you put the posts from the same database?

  7. "in some special place" - like what?

    I use SWT if I want full posts.

    If I want a list of headlines of recent posts, then I use something else.

  8. javistuff
    Member
    Posted 3 years ago #

    Hey, Andrea! So glad you're here!

    No, this is the thing:

    I have an already made homepage from a magazin style theme. Currently, I have the SWT pulling the contents from all the sites into the tags blog "feeds-from-sites". A sub-site of the mainsite.

    What I would need to do, instead, is to have the SWT pull the posts into a page on the mainsite, other than the Homepage. Something like "page-of-feeds-from-sites" INSIDE the mainsite. So I can pull from there the posts from all over thw network as posts inside the categories of the mainsite.

    Is there any way to accomplish that? To set the plugin to publish on a different page of the mainsite other than the Homepage?

  9. I see what you want, but how you think it needs to be done is where it's falling down. :)

    Pull the tags blog posts to the MAIN blog. Then you'll be able to choose which ones go in the category section of your homepage, just as if they were on the main blog.

    Yes, this will work.

  10. javistuff
    Member
    Posted 3 years ago #

    Yeap, you were right.

    Have done that and it is working properly now, with exception of the thumbnails of the posts from the other sites. I have tried putting them inside the post, setting them as featured image (ohh.. the cool WP 3.0!) and adding them as a custom field, and nothing... they just wont come up.

    Is there anything that I'm doing wrong?

    And, once again, thanks for your precious help!

  11. Ah, here's the sticky point... thumbnails support still needs to be rolled in to SWT.

    You could adapt the theme to use the 'get the image" plugin instead, which would also work.

  12. javistuff
    Member
    Posted 3 years ago #

    Allright. So I see that I'll have some hours of coding to reach the goal yet. I'm digging into some websites displaying all kinds of codes to tweak Timthumb for 3.0 and another one to integrate Get the image with it too. We'll have to work on that!

    I want to thank you for all the help, once more!

  13. just2izy
    Member
    Posted 3 years ago #

    Sorry to intrude.

    Pull the tags blog posts to the MAIN blog. Then you'll be able to choose which ones go in the category section of your homepage, just as if they were on the main blog.

    How do you do that?

  14. there's an option in the sitewide tags options. A checkbox that says "post to main blog".

  15. just2izy
    Member
    Posted 3 years ago #

    Thanks I figured that out. Seems I didn't notice I had it enabled previously because I did not post any new contentt after enabling the plugin. It works well now but....

    Is there a way to switch from the default of sub site posts being published immediately to them becoming drafts rather?.

    Remember how Timthumb + multisite 'issues' recommended fix checks for current blog and uses that blog_id in the path to images. This breaks featured images from the sub site posts, as the blog_id always becomes that of the current site.

    Default published status means no associated post images on the main site until a new featured image is manually added to the post pulled in from the sub site.

  16. maffwilson
    Member
    Posted 3 years ago #

    Having trouble installing http://wordpress.org/extend/plugins/wordpress-mu-featured-posts/

    For one thing the admin panel thinks that version 1.0 is installed and wants to install 2.8.2 - but when you do it still thinks you have 1.0 installed and on and on...

    Secondly, I can't see any page to use this plugin in the dashboard. There's nothing new there. Am using WordPress 3.0.1 multisite.

  17. I'll need to go test it in 3.0. Where'd you put the plugin?

  18. maffwilson
    Member
    Posted 3 years ago #

    I installed through the plugins page - it's in wp-content/plugins

  19. It goes in mu-plugins:
    http://wordpress.org/extend/plugins/wordpress-mu-featured-posts/installation/

    You also need either the sitewide tags plugin or a sitewide feed plugin. the menu shows up under Super admin, and you need to put a feed address in there to pull the posts you want to feature.

  20. maffwilson
    Member
    Posted 3 years ago #

    Erm - well I've created a folder wp-content/mu-plugins and put both wordpress-mu-featured-posts and wordpress-mu-sitewide-tags in there.

    (Same permissions as wp-content/plugins.)

    Now can't see them in the Plugins page in wp-admin. How do I activate them? Seems like WordPress 3 has a different way of dealing with multisite plugins?

  21. No, 3.0 deals with them exactly the same way WPMU dealt with them.

    Put the *files* in mu-plugin. Not the folders.

    They will not show up under the Plugins list to be activated, becasue they already are.

    If you go to the plguins page, look for the "must use" link. Is it there? Then the files are in the right and running. If not, you did it wrong.

  22. maffwilson
    Member
    Posted 3 years ago #

    ahhhh - yeah - that works - thanks for your help :)

Topic Closed

This topic has been closed to new replies.

About this Topic