Sami Keijonen
Forum Replies Created
-
Forum: Plugins
In reply to: [Display Authors Widget] Order by post?Try this one out in your custom plugin or themes functions.php.
add_filter( 'display_authors_widget_query', 'my_order_by_post_count' ); function my_order_by_post_count( $query_args ) { $query_args['order_by'] = 'post_count'; return $query_args; }
Forum: Plugins
In reply to: [Display Authors Widget] Order by post?Sorry I didn’t see this question before. I look into this tomorrow.
Forum: Themes and Templates
In reply to: [Path] how to create a slider image like the demoOnly the sticky posts are in the slider, so you need to have some sticky posts for the slider work.
I still don’t see anything wrong in those links. If you smartphone resolution is over 768px, layout should be in two columns.
Forum: Themes and Templates
In reply to: [Path] Is Path theme adsense friendly?Sorry I don’t understand the question. Kind of every WP theme is Adsense-friendly. But there might be some problems with Google Adds in responsive theme like Path.
You don’t really need plugin like wptouch with responsive theme because it takes over the design. So test your site without any ‘mobile’ plugins.
Do you have a link where that problem occurs?
Only problem I see comes from share buttons. They seem not to be responsive. I’m not sure how to fix that because those share buttons comes from a plugin.
Forum: Themes and Templates
In reply to: [Path] Compatiability with JetPack CommentsSorry I don’t know how Jetpack works so it’s hard to know what’s the issue. It also might be a problem with some other plugin. Deactivate all plugins and see if that helps.
Forum: Themes and Templates
In reply to: [Path] Layout 2c-r not working when settings are changedThis seems allright to me except those css rules should be inside media query in the same way as parent theme style.css.
Forum: Themes and Templates
In reply to: [Path] Problem with archives pagination and permalinksThis seems like a bug. Here is a fix before next update.
Put this in child theme
functions.php
inside setup function.add_filter( 'loop_pagination_args', 'my_pagination_args' );
And this after setup function.
function my_pagination_args( $args ) { if ( !is_search() ) $args['base'] = user_trailingslashit( trailingslashit( get_pagenum_link() ) . 'page/%#%' ); return $args; }
Here is premade child theme if you need one.
Forum: Plugins
In reply to: [Display Authors Widget] change the role dropdown to multiple selectYes I understand that, but like I said this plugin is not designed for showing multiple roles in same widget. There must be other plugins that do that.
But it’s a nice idea and I keep that in mind in next update.
Forum: Plugins
In reply to: [Display Authors Widget] change the role dropdown to multiple selecteditor
is the default role. Naturally if you don’t have that role it might be arbitrary. I use Members Plugin to control my roles and capabilities.Forum: Themes and Templates
In reply to: [Path] Google fonts?Like this in child theme
functions.php
inside setup function./* Enqueue Google fonts */ add_action( 'wp_enqueue_scripts', 'path_child_google_fonts' );
And this outside setup function.
function path_child_google_fonts() { wp_enqueue_style( 'font-oswald', 'https://fonts.googleapis.com/css?family=Oswald:400,300,700', false, 1.0, 'screen' ); }
Forum: Plugins
In reply to: [Display Authors Widget] change the role dropdown to multiple selectThis is not something this plugin was created for, but I’ll think about it. Naturally you can use two different widgets for two different roles like I do.