No problem.
Updating the buddyblog_show_custom_cats to this
function buddyblog_show_custom_cats( $settings ) { $tax = array(); $tax['category'] = array( 'taxonomy' => 'category', 'view_type' => 'dd', 'child_of' => 91, //CHAGE It with the correct ID, 'orderby' => 'slug', 'order' => 'ASC' ); $tax['post_tag'] = array( 'taxonomy' => 'post_tag', 'view_type' => 'dd', 'include' => array( 1,2,3),// tag ids. 'orderby' => 'slug', 'order' => 'ASC', ); $settings['tax'] = $tax; return $settings; }
should do it. I have not tested it, I am hoping that it works.
replace the old function with the same name with it.
About last few issues:-
1. If you want, you can create yourtheme/buddyblog/posts.php and override the whole layout(for custom query, please see buffyblog/templates/buddyblog/posts.php)2. Please see 1
3. You are logged in as admin. By default BuddyBlog lets admin edit post in the backend. You can control who will see edit from backend link in the BuddyBlog settings. Normal users will be doing it from front end.Regards
BrajeshThank you. Glad you found the setting.
Regards
Brajeshthis is the template my theme uses for blog posts:
https://pastebin.com/pQ4eDZf3how do i get the styles from this to apply to buddyblog?
Thank you for sharing it.
I am about to leave for a few hours.
will assist you later today when I am back to work again.Regards
Brajeshthats the correct template, my bad
Hi Phil,
The last code you have share is for single post. I need it for the archive post(the posts loop).Regards
Brajesh
You must be logged in to reply to this topic.