nackle2k10
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Bearded] Blog Page Template Missing?@sdgraphx, are you sure this is the theme? it say themes/eclipse, not sure it’s bearded theme, also your problem is from the error log it means you already have the function before, and now you have duplicate function. try check the function to prevent duplicate
Forum: Themes and Templates
In reply to: [Bearded] FontAwesome icons not displayingthis theme still using FontAwesome version 3.2, so the class is still using icon- prefix
Forum: Themes and Templates
In reply to: [Bearded] Blog Page Template Missing?you need to set your blog page as post page. for the distorted content can you give me some screenshot?
Forum: Themes and Templates
In reply to: [Bearded] Latest WorksHi, I got your site, I think this was cause by some of your css
.collapse { overflow: hidden; } this make content hidden.
This may be cause by plugin or your own css. I debug it and this is the file which cause it https://www.sportacademylenaiadi.it/wordpress/?ai1ec_render_css=1383738911&ver=3.8
Forum: Themes and Templates
In reply to: [Bearded] Show entire post in blogYou’ll need to modify the source code to show all of the entire post, since the post grab part of content using the_excerpt(), you may want to use the_content(). featured image is created when there is a image in post, turn of by modifying get_the_image() function
Forum: Themes and Templates
In reply to: [Bearded] Broken in 3.8 with Debug TrueStill working on this one, will update soon
Forum: Themes and Templates
In reply to: [Bearded] Latest from the blog widgetFor the widget, you need to make a home page template in your static home page
Forum: Themes and Templates
In reply to: Custom Post Type and Taxonomy pagination permalink 404 errorNice to hear that you also got it fix. Fun with taxonomy then ??
Forum: Themes and Templates
In reply to: Custom Post Type and Taxonomy pagination permalink 404 errorI don’t know if it has to do with the pagination but in my post_type the ‘has_archive’ is set to true, ‘has_archive’ => true,
Forum: Themes and Templates
In reply to: Custom Post Type and Taxonomy pagination permalink 404 errorthe line 3 for the last code block is my own custom framework option. use your own (forget to change it) ??
Forum: Themes and Templates
In reply to: Custom Post Type and Taxonomy pagination permalink 404 errorthe if($option_tax_posts_per_page[‘blablabla’] is my custom framework option. use your own (forget to change it) ??
Forum: Themes and Templates
In reply to: Custom Post Type and Taxonomy pagination permalink 404 errorHey Dude, I found the way to get the pagination fix!!
first thing you need to know is do not add custom query_posts at your taxonomy.php it will ruin the pagination so get rid of it.
second remove the exclude_from_search -> true while registering the post type
third don’t register custom taxonomy with priority lower than priority for registering associated post type.
example
add_action('init', 'custom_post_type_register', 0); add_action('init', 'custom_tax_register', 10);
if you want to add custom query to your taxonomy instead of using query_posts, just create another functions in functions.php then using pre_get_posts filter
function search_filter($query) { if ( !is_admin() ) { if ($query->is_search) { $query->set('post_type', array('post', 'page')); } } return $query; } add_filter('pre_get_posts', 'search_filter');
This is use to filter the search to only search for post and page if you want to add the custom post type just append it in to the array.
if you want to make custom post per page use this functions
$option_posts_per_page = get_option( 'posts_per_page' ); $option_taxposts_per_page = (int)(get_option('my_custom_option'); if($option_taxposts_per_page['st_search_results_show'] == ''){ $option_taxposts_per_page = $options_posts_per_page;} add_action( 'init', 'my_modify_posts_per_page', 0); function my_modify_posts_per_page() { add_filter( 'option_posts_per_page', 'my_option_posts_per_page' ); } function my_option_posts_per_page( $value ) { global $option_posts_per_page; global $option_taxposts_per_page; // your custom posts per page options if ( is_tax( 'mytaxonomy')) { return $option_taxposts_per_page; } else { return $option_posts_per_page; } }
Forum: Themes and Templates
In reply to: Custom Post Type and Taxonomy pagination permalink 404 errorthanks dude, at least there is a temporary solution that works. still trying to figure out the best solution. I found a pagination chaining tutorial by Justin Carroll in wptuts and the results for me is still the same but may be you can try that method and tell me whether it works or not
Forum: Themes and Templates
In reply to: Custom Post Type and Taxonomy pagination permalink 404 errorI got the same problem and still try to figure it out. Any luck?
Forum: Fixing WordPress
In reply to: Custom post type taxonomy paginationGreat method, I also saw your chaining method post in wptuts. but I have a problem using this method when use custom permalinks, still showing 404 error page ?? and I’ve been stuck with this for 2 days. Please somebody help me…