Welcome to BuddyDress

Our themes show off your site’s content - and do it well. We look for inspiration all around us - introducing personality for a dramatic effect that will bring your content to life.

Founded on the idea that your site should be exceptional in style and quality, we draw on classic design techniques to present a beautiful and unique collection of themes at an excellent value.

remember me
  

In BuddyDress this week… the codex is thy friend

This week we’ve had a great time releasing Studio to you – you can download it right here. Along with that we’ve had a few interesting topics in the forums.

Roles and capabilities in WordPress

The topic of roles and capabilities is a huge one in WordPress and the specific that came up revolve around the edit_themes ones:

- edit_themes
- edit_theme_options

A lot of older themes used edit_themes where now you want to have edit_theme_options usually. So what can you do with edit_theme_options?

edit_theme_options

* Since 3.0
* Allows access to Administration Panel options:
o Appearance > Background
o Appearance > Header
o Appearance > Menus
o Appearance > Widgets
o Also allows access to Theme Options pages if they are included in the Theme

Find out more about roles and capabilities in the codex here.

We are working to change all our themes but if you do experience an issue using a theme on a sub blog you may want to check out if it’s using edit_themes not edit_theme_options.

Setting default theme

This one comes from Jakeone’s post in the forums and is a great little tip we thought you’d like to read.

Do you want to set a default theme for your sites?
In config.php just add the theme name like in this case where jakeone did it for Edu Clean:

define('WP_DEFAULT_THEME', 'edu-clean');

Want to reference the child not the parent?

define('WP_DEFAULT_THEME', 'edu-clean-child');

Jakeone did experience a PHP error first time using the child but it’s possibly due to a space or something similar in the config.php file – make sure you’ve got no extra lines in that file just incase.

Blog posts not showing full content

If your posts are not showing their full content all you have to do is look for:

the_excerpt();

Change this to:

the_content();

There you go.. full posts.

Want to do the reverse and just show excerpts? No problem. Look for:

the_content();

However, you may for instance in the Social theme have this:

the_content(__('Read more about % »','bp-social'),
short_text($the_post_title, 15) );

Just change that entire line in that case to:

the_excerpt();

There you go excerpted posts.

Find out more about the_content in the codex here.
Find out more about the _excerpt in the codex here.

That wraps up from the forums this week, remember though if you’re a member you can get support at any time by using our forums.

Leave a Reply