2013-03-14, 21:15:33
(2013-03-07, 03:43:44)Carlos Wrote: Both the function nm_post_title and the News Manager Title plugin are meant to be used to insert the post title in the <title> tag (in the <head> section of the template). This is not visible in the page itself, but it is used for SEO purposes (it's what search engines usually show as titles in their results). You can see it in your browser window title.
Aha, this wasn't clear to me.
Quote:So what you really need is removing the title (and the date) that you can see in the page... Those are "hardcoded" in your template (functions get_page_title and get_page_date) and News Manager cannot remove them. The plugin inserts its contents using get_page_content (like other blog-type GS plugins).Thanks. I considered using a seperative template for that. Can you give some example code for the if-command?
In the Emerald2 theme you are using, you should remove (or comment out) this:
Code:<h2 class="title"><?php get_page_title(); ?></h2>
<p class="meta"><span class="date"><?php get_page_date('F jS, Y'); ?></span></p>
But if you only want to remove that in the page used by News Manager, and show it for the rest of the pages, then you have to enclose those two lines in some sort of conditional (if...) statement.
Quote:It seems you have defined your site name as " " (a space character). So get_site_name does not render anything. This is in the <title> tag, as I said above.Ok I changed that. Have to come up with a better title though.
(If you also want to change this, tell me examples of how you would like it to be.)