Skip to Content
WordPress® All-in-One For Dummies®
book

WordPress® All-in-One For Dummies®

by Lisa Sabin-Wilson, Cory Miller, Kevin Palmer, Andrea Rennick, Michael Torbert
April 2011
Beginner to intermediate content levelBeginner to intermediate
908 pages
22h 37m
English
For Dummies
Content preview from WordPress® All-in-One For Dummies®

Gathering and Displaying Network-wide Content

Depending on your needs, you may want to gather content from sites across your network to display on the front page of the main site (such as with the FoodPress example we provide at the beginning of this chapter). Although some plugins will do this for you, you can accomplish this by placing a few lines of code in your theme template file.

The main page of your network is controlled by the theme that is active in your regular Dashboard under ApperanceimageThemes. You can customize this theme with some code samples in the next section to suit your particular needs.

Adding Posts from Network Sites

One of the best ways to pull visitors into your site is to display a short list of headlines from posts made by other sites within your network. With a single WordPress site, this simply is handled by the Recent Posts widget. When running a network, however, there's no built-in way to pull a list of posts from across all the sites in your network. However, the Recent Global Posts widget plugin available from the folks at WPMU Premium Dev can do this for you quickly and efficiently, and includes a handy widget to make it easy for you to add recent posts from across your network of sites to your main Web site.

As we mention in an early part of this chapter, plugins from WPMU Dev Premium are not free, and you cannot access them from the official WordPress ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

WordPress® 24-Hour Trainer

WordPress® 24-Hour Trainer

George Plumley
Gaming Hacks

Gaming Hacks

Simon Carless

Publisher Resources

ISBN: 9780470877012Purchase book