deinezauber
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Customizr] Customizr and HFeed WarningI’ve found it!!!
The reason is that in my version of Customizr (3.0.15) that hook was not supported, so no surprises if the theme is not calling my function; in details, the class involved is the ‘class-content-post_metas.php’ and here you can see the row #62 in the version 3.0.15:
$date = sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s">%4$s</time></a>' ,
Same file, version 3.1.5, row #68:
$date = apply_filters( 'tc_date_meta', sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s">%4$s</time></a>' ,
So I can consider this topic closed, I hope it’ll be useful for other users with the same problem.
Ciao!
NicolaForum: Themes and Templates
In reply to: [Customizr] Customizr and HFeed WarningThank you! Sorry for not mentioning it… yes, I’ve added that snippet code in the file functions.php of my child theme, using obviously Customizr as parent theme.
The only thing I’d like to know now is if someone has already used this ‘tc_date_meta’ hook or if there is a typo preventing it from working.
Thank you again,
NicolaForum: Themes and Templates
In reply to: [Customizr] Customizr and HFeed WarningI’ve searched again and again and maybe I’ve found something suitable form my needs.
Nikeo documented how to replace the post writing date with the last post update date in the code snippet section of his site; I’ve further modified this script in order to add also the SPAN tag for hatom feed:add_filter( 'tc_date_meta' , 'display_the_update_date'); function display_the_update_date() { return sprintf( '<a href="%1$s" title="updated %2$s" rel="bookmark"><time class="entry-date" datetime="%3$s"><span class="date updated">%4$s</span></time></a>' , esc_url( get_day_link( get_the_time( 'Y' ), get_the_time( 'm' ), get_the_time( 'd' ) ) ), esc_attr( get_the_modified_date('F j, Y') ), esc_attr( get_the_modified_date('c') ), get_the_modified_date('F j, Y') ); }
The problem is that this filter seems is not being applied and I don’t understand why… I’ve disabled the W3 Total Cache plugin and cleaned my web browser cache but I can’t see differences… any idea?
Thank you,
NicolaForum: Themes and Templates
In reply to: [Customizr] Customizr and HFeed WarningHaving a deeper look into the HTML source code of a post page (I’ve also tried to dive into the code but… not sure where I should have a look), the place where the UPDATE info should be is inside the:
<div class="entry-meta">
Am I right? How could I inject the publication date and the last update date?
Thank you,
NicolaForum: Plugins
In reply to: [Newsletter - Send awesome emails from WordPress] Big memory footprint?Thank you for your explanation Stefano,
then I can considered resolved this topis as you’ve answered to my questions.
Please keep going on with the development of your plugin!
Cheers,
NicolaForum: Plugins
In reply to: [Newsletter - Send awesome emails from WordPress] Big memory footprint?Hi Stefano,
grazie mille!The fastest answer I’ve ever seen!!!Ok, I can understand the explanation of why you need such memory but – please do not misunderstand me, I’m not complaining about your wonderful plugin – I really cannot understand why a plugin that sends a newsletter once a month has to constantly require 1.7MB of memory… I’ve added the widget for subscribing to the newsletter but it should load the memory only when someone is really using it, not all the time.
Can you please explain me a little bit more the reasons of this footprint?
Thank you,
NicolaP.S.: sono un ingegnere software italiano, vai pure sul tecnicone, grazie ancora!
Great! Thank you for your support, then we dont’t need any other tool for updating our website sitemap.
Merry Xmas and a Happy New Year,
Nicola12-18-2013 update: the provider told me that no cronjob scheduler is available. The only thing I could activate was the cURL library from the website cPanel; this configuration helped me to go further with the plugin usage.
In my understanding, now I can overwrite my website sitemap.xml and I can transmit it to Google Webmaster tool for updating its sitemap definition; a question still remains: how may I schedule an automatic sitemap.xml regeneration and transmission to Google?
Regards,
NicolaForum: Themes and Templates
In reply to: [Customizr] Customize 404 pageThank you Nikeo,
your instructions did wonderfully the task I was aiming to do, thank you so much!By the way, my best compliment to you for your awesome work and to all of the volunteers giving suppport to Customizr users!
Please keep going on!
Ciao,
NicolaForum: Themes and Templates
In reply to: [Customizr] How to remove "Category Archives" labelThank you so much for your suggestions, I really liked the one about the Snippet11 and the capabilities of front-end rendering function filters!
Best regards,
NicolaForum: Themes and Templates
In reply to: [Customizr] How to remove "Category Archives" labelOps! Sorry, the previous post had a bug that affected ALL of the title but I’m interested only in those with H1 tag, so:
/* Hides the labels automatically added by WordPress to category pages */ .archive h1.format-icon{ visibility: hidden; } .archive h1.format-icon span{ visibility: visible; float: left; }
Regards,
NicolaForum: Themes and Templates
In reply to: [Customizr] How to remove "Category Archives" labelOk, I think I’ve got the first point; to remove ONLY that “Category archives” I’ve added the following CSS rules:
/* Hides the labels automatically added by WordPress to category pages */ .archive .format-icon{ visibility: hidden; } .archive .format-icon span{ visibility: visible; float: left; }
Anyway, the second question remains: how should I control the way Customizr theme (or maybe WordPress???) outputs the static labels like “Category archives”?
Thank you in advance,
NicolaForum: Themes and Templates
In reply to: [Customizr] How to remove "Category Archives" labelThank you sir!
Actually I’ve already applied the CSS rule you suggested me but I realized it was overstated because I do need a page title…So, let me detail better the problem: on the category page we have a breadcrumb and below it the page title; the page title has an icon (which I have already suppressed via CSS), the string “Category Archives” and then the category name (in my case “Sport”).
Looking at the HTML code I see this:<h1 class="format-icon"> Category Archives: <span>Sport</span> </h1>
I’ve posted this question because I’m a newbie of CSS and WordPress so I don’t know a CSS rule for not displaying the “Category Archives” string or a hook to suppress its output during the page generating process.
Then I was asking if I can somehow control (maybe using some other functions to add in my functions.php…) on how those fixed strings like “Category archives” are injected into the final HTML page by the Customizr theme.
Thank you again for your ansswer!
Best regards,
NicolaForum: Themes and Templates
In reply to: [Customizr] Change post order by category programmaticallyI’m marking this topic as resolved.
Forum: Themes and Templates
In reply to: [Customizr] Change post order by category programmaticallyAwesome!!! Thank you so much for your hints and snippet code, it worked out!
Thank you again,
Nicola