MortenPeterAndersen
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple News] Upgrade from 2.2 to 2.4 breaks wordpress themesHi chrisc99
I could be awesome if you could try to use this codeif ( !file_exists( trailingslashit( get_stylesheet_directory() ) . 'archive-news.php' ) ) { add_filter( 'template_include', 'simple_news_page_template' ); function simple_news_page_template( $template ) { $file_name = 'archive-news.php'; if ( is_post_type_archive('news') ) { $template = dirname( __FILE__ ) .'/files/templates/'. $file_name; if ( '' != $new_template ) { return $new_template ; } } return $template; } }
… Instead of everything under line 112
Forum: Plugins
In reply to: [Simple News] Upgrade from 2.2 to 2.4 breaks wordpress themesHi chrisc99
I really appreciate your feedback.
Looks like I first have to check for if custom theme files exist.??
Morten- This reply was modified 4 years, 9 months ago by MortenPeterAndersen.
Forum: Plugins
In reply to: [Simple News] Category view broken after update to version 2.1Do you get a php error messages?
Forum: Plugins
In reply to: [Simple News] Category view broken after update to version 2.4double post
Forum: Plugins
In reply to: [Simple News] Category view broken after update to version 2.1Hi mik9
Strange …. maybe there is something wrong with your theme/plugin?
I have tested on many installations and everything is working fine … this is indeed strange???
The problems with comments have nothing to do with the plugin.??
MortenForum: Plugins
In reply to: [Simple News] News page changed background colorHi imabbb
Yes of course
In your WordPress custom css use this code.simple-news-grid-con {background: #fff; padding: 1em 0;}
??
MortenForum: Plugins
In reply to: [Simple News] How to edit the /news page in the pluginHope the new ver. 2.4 is working ??
Forum: Plugins
In reply to: [Simple News] How to edit the /news page in the pluginHi @mightyshiv
I’m working on a new version where the “/news” page (list page) is displaying all news in a grid divide in 4 rows … and with pagination.
Maybe that’s what you a looking for ??Forum: Plugins
In reply to: [Simple News] How to edit the /news page in the pluginthanks ??
Forum: Plugins
In reply to: [Simple News] How to edit the /news page in the pluginno there is no pagination
The shortcodes is listed here
https://www.ads-software.com/plugins/simple-news/??
MortenForum: Plugins
In reply to: [Simple News] How to edit the /news page in the pluginI then think you should dump the default /news and made your own. Make a normal page ( /newsxx ) and use the shortcodes to build your news grid
Forum: Plugins
In reply to: [Simple News] How to edit the /news page in the pluginIt’s hard for me to tell. I don’t know your theme or elementor. What do you want to change?
Forum: Plugins
In reply to: [Simple News] How to edit the /news page in the pluginHi – the news page is not the plugin. The look of /news is design by your theme. The plugin only list items (news) on this page. Hope this makes sense
??
MortenForum: Plugins
In reply to: [Simple News] Adding Tags… Maybe later …
Forum: Plugins
In reply to: [Simple News] Automatic information from URLI think you are looking for another plugin. What you describe is very smart, but Simplenews is for another purpose.
??
Morten