Wownews
Wownews is a versatile, mobile friendly, seo optimize news magazine BuddyPress WordPress theme. The theme comes with tons of customization features such as 650+ Google web fonts, homepage featured posts, featured slider posts, schema data markup for better seo and many more premium-ish features you won’t find in any free theme.
With the important of responsive design in today web design, the theme also let your website look better and responsive in mobile device such as hand phone or tablet devices.
Google consider snippet or schema markup as ranking factor, the theme also had built in schema markup options if you really want to boost your website search engine micro-data visibility.
[notice type=”info”]Admin backend theme options is obsolete, now to customize the theme, you need to use adminbar->customize->theme options[/notice]
Full Features
[list type=”check”]
- Unlimited Colors to choose from
- Logo and Fav icon setting in customizer
- Microformat ready for Google snippet
- Post and Breadcrumbs Schema for prettier search structure in SERP
- Built in social sharing buttons
- 650+ Google Web Fonts to choose from
- Featured Slider
- Featured HOMEPAGE Posts
Go to customize->theme options->posts->enter post ids - Google or any embed advertisement code in header, post loop, sidebar and single post
- WordPress Built-in Background settings
- Custom widget – featured posts with category and Custom Post Type widgets
- BuddyPress, BBPress and Woocommerce support
- Localization Ready ( mo and po file inside language folder )
[/list]
Still looking for more suitable responsive WordPress theme? Checkout more Responsive BuddyPress Themes from MagPress
I have been using the Wownews template for quite a while now and just ran into a big problem for me. I want the descriptions of my categories to show up on the category pages, but I can’t find a way to do it. I found several pages that provide different codes to insert in various php files of themes, including one for the archives.php file. But I have no idea where to put any code in the Wownews theme files. What do I need to do to get category descriptions I write to show up on the category pages?
add this functions.php
[php]function mp_add_cat_desc() { if( is_category() ) {
$get_catdesc = category_description(); if($get_catdesc) {
echo $get_catdesc;
}
}
}
add_action(‘mp_inside_content_area_inner’, ‘mp_add_cat_desc’);[/php]
Something went wrong. When I put that code in the functions.php file, it “broke” my entire site. I couldn’t get into the admin area and the site no longer came up. All I would get were totally blank pages – all white with no errors mentioned.
I contacted hostgator, my site host, and the advisor changed my site to the default WordPress theme so that I could get into the admin area. The site then worked and the category descriptions showed up, so I guess descriptions show up automatically with the default category.
Once I was back in the admin area, I changed the theme back to Wownews – and again, everything went blank. I had to go to the cPanel and remove the extra code from the functions.php file that way.
Is there some particular place in the functions.php file that code needs to be placed? First I put it at the very end and the code itself showed up at the top of every page – including the admin page. Then I moved it up just above some code for woocommerce. That’s when I got the problem. I also added this just above the code (in both places):
/*————————————————
show category descriptions on category pages
————————————————*/
I don’t see how that would cause the problem, though.
I also see that there are a number of other function.php files. Is it possible that the code should go in one of those instead of the plain functions.php?
I don’t know…I’m trying to figure out why this didn’t work and caused such a problem.
did you put the code before the bottom end of ?> in functions.php?
This is the end of the functions.php file:
/*——————————————————-
add meta description
——————————————————-*/
function add_custom_meta_des(){
if( is_home() || is_front_page() ){
$meta_des = “Who are gifted kids? How can we identify them? Is my child gifted? What do gifted kids need? How can we help them? What do they want?”;
echo ”; } }
add_action( ‘wp_head’, ‘add_custom_meta_des’, 4 );
/*—————————————-
load theme buddypress, woocommerce and bbpress functions
—————————————-*/
if ( class_exists(‘woocommerce’) && file_exists( get_template_directory() . ‘/functions/woocommerce/functions.php’ ) ) { include_once( get_template_directory() . ‘/functions/woocommerce/functions.php’ ); }
if ( class_exists(‘buddypress’) && file_exists( get_template_directory() . ‘/functions/buddypress/functions.php’ ) ) { include_once( get_template_directory() . ‘/functions/buddypress/functions.php’ ); }
if ( class_exists(‘bbpress’) && file_exists( get_template_directory() . ‘/functions/bbpress/functions.php’ ) ) { include_once( get_template_directory() . ‘/functions/bbpress/functions.php’ ); }
?>
I put the code right above this:
/*—————————————-
load theme buddypress, woocommerce and bbpress functions
—————————————-*/
And above the code I inserted, I added this so I’d know what the code was:
/*——————————
show category descriptions on category pages————————*/
should be something like this: https://pastebin.com/wjbYxsrD
check the end code.
Thank you. I’m going to wait a bit before I try this. I’m still trying to fix other problems that resulted when the advisor at my host company changed the theme so that I could get back into the admin area of my WP site. That didn’t help since when I changed it back, the problem came back. That’s when I went to the cPanel to remove the code, but boy…did I have mess to clean up with the widgets, etc. I’m still not sure I have everything back to what it was supposed to be (with hidden codes). I need to make sure that’s all fixed right before I try something else. I’m a little nervous now about changing codes, which I hadn’t been before. Anyway… once I try what you suggest, I’ll come back and let you know if it worked.
Thanks again.