News Manager (updated) - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13) +--- Thread: News Manager (updated) (/showthread.php?tid=3972) |
RE: News Manager (updated) - Riianna - 2019-03-18 How about, or is there, funktion that one can select in post options which page to show each news?. Like if i have news about football i can select from post options to show that football news in football page etc . RE: News Manager (updated) - acenda - 2019-03-19 (2019-03-16, 00:47:24)Carlos Wrote:(2019-03-15, 23:28:23)acenda Wrote: Hi Carlos. How can I use the post picture in og:image? Is there a way to print picture's url? Ok, many thanks mate! RE: News Manager (updated) - Riianna - 2019-04-01 How to hide specifig news and specifig tag?. Like if i have news "Salmon fishing" tagget with "fishing", and i dont want to that "Salmon fishing" news appear in in news listing page and i dont want tag "fishing" appear in tag cloud,tag listing etc. RE: News Manager (updated) - Carlos - 2019-04-01 (2019-03-18, 18:36:07)Riianna Wrote: How about, or is there, funktion that one can select in post options which page to show each news?. That's not currently possible, sorry. RE: News Manager (updated) - Carlos - 2019-04-01 (2019-04-01, 18:23:51)Riianna Wrote: How to hide specifig news and specifig tag?. You can: - use "invisible tags" (prefix tags with an underscore, like _mytag )and/or - Exclude posts by tag: Code: define('NMDEFAULTEXCLUDETAGGED', 'mytag1,mytag2,mytag3'); more info here RE: News Manager (updated) - dromanov31 - 2019-04-22 (2019-02-26, 05:51:41)Carlos Wrote: Insert this in your template, before <?php get_header(); ?> Hello, Carlos! When this code is inserted directly in template everything works just fine. But when I'm trying to use this as a component there is no meta description in the page source code... The component code: Code: <?php The component in template: Code: <head> What am I doing wrong? RE: News Manager (updated) - Carlos - 2019-04-23 To make it work in a component, insert this: Code: global $metad; just after the <?php tag.
RE: News Manager (updated) - dromanov31 - 2019-04-24 (2019-04-23, 02:16:21)Carlos Wrote: To make it work in a component, insert this: Thank you very much! It works RE: News Manager (updated) - smdp-1971 - 2019-05-10 Hello! The NM setting is set Enable post image -> Yes. If I do not select an image when creating new news - is there a way to set the default image, but only in the sidebar. I use the following code: PHP Code: <?php nm_custom_display_recent( Thank you, RE: News Manager (updated) - Carlos - 2019-05-10 See here: http://get-simple.info/forums/showthread.php?tid=4339&pid=64237#pid64237 RE: News Manager (updated) - smdp-1971 - 2019-05-10 (2019-05-10, 05:10:29)Carlos Wrote: See here: http://get-simple.info/forums/showthread.php?tid=4339&pid=64237#pid64237 Thanks, that's it. RE: News Manager (updated) - davetest - 2019-07-27 I'd love to be able to customize News Manager (updated) to use it for a What's-on, or Coming Events page. So I'm wondering if it is possible to customise the published date field so that it would be my event date. That would mean I'd have to have NM display future dated posts. All advice welcome please, or has anything similar been done before? RE: News Manager (updated) - Carlos - 2019-07-29 (2019-07-27, 20:50:30)davetest Wrote: I'd love to be able to customize News Manager (updated) to use it for a What's-on, or Coming Events page. So I'm wondering if it is possible to customise the published date field so that it would be my event date. That would mean I'd have to have NM display future dated posts. You can do it with the NM Addons plugin. An example here: http://get-simple.info/forums/showthread.php?tid=4339&pid=63451#pid63451 RE: News Manager (updated) - davetest - 2019-07-30 Thank you Carlos. Absolutely brilliant, just what I needed. Please can you let me have code to use for your 'past events' example? Thanks again. RE: News Manager (updated) - Carlos - 2019-07-30 Just insert a link to the 'events' (or whatever) tag page: example.com/newspage/tag/events or example.com/newspage/?tag=events or... (others, depending on your GS and NM permalink setup) RE: News Manager (updated) - davetest - 2019-07-30 Thanks Carlos. Got it. Back to the original question of creating a future events list ( I'm putting mine inside another page via DynPages), I've just noticed that any events dated today don't appear with the future events. Is it possible to get then to show, or any other way to just show toda's seperately? RE: News Manager (updated) - Carlos - 2019-07-30 You can set their time to 23:59, so that they are future posts (until 00:00 is reached). RE: News Manager (updated) - Carlos - 2019-08-02 I'll add an option to display today's posts. RE: News Manager (updated) - davetest - 2019-08-02 Thanks Carlos, you're a star. your 23:59 trick worked a treat, but this will be even better. Missing {{ post_meta }} in news manager addon - Alexander_ - 2019-08-10 Is there a way to display the meta description of posts with nm_custom_display_recent like PHP Code: nm_custom_display_recent("Title: {{ post_title }}<br>Description: {{ post_metad }}"); Alex RE: Missing {{ post_meta }} in news manager addon - Carlos - 2019-08-10 Not currently, but I'll add support for that. RE: News Manager (updated) - acenda - 2019-10-23 Hi Carlos. One of my clients has a problem with set and News Manager. For some reason, sitemap doesn't show posts. There is only sites. Is there an easy solution? GS version 3.15 and NMu version 3.6. RE: News Manager (updated) - Carlos - 2019-10-23 Does the site have some plugin like I18N, that generates its own Sitemap? RE: News Manager (updated) - acenda - 2019-10-29 (2019-10-23, 03:19:59)Carlos Wrote: Does the site have some plugin like I18N, that generates its own Sitemap? Yes. I18N base, I18N search and I18N Search for news manager posts. Here is image off all plugins. Right side RED color indicates that the plugin is active. RE: News Manager (updated) - Carlos - 2019-10-30 The I18N plugin doesn't run GetSimple's 'sitemap' filter, so News Manager cannot insert its posts in the Sitemap. You can try patching the I18N plugin: http://get-simple.info/forums/showthread.php?tid=3972&pid=47765#pid47765 Make sure to check posts' URLs are correct in the sitemap.xml file - it depends on your permalink structure. |