tblancog
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Custom HTML/CSS not being renderedHi there,
Now it should be matching, I already flushed the page cache and double-checked HTML code which I placed it in my home page using the classic editor with the HTML tab, now it’s showing a broken grid, is somehow rendering another row, column, or something, any ideas?
Thanks in advance.- This reply was modified 4 years, 6 months ago by tblancog.
Forum: Plugins
In reply to: [Ceceppa Multilingua] Ignoring second parameter get_the_dateWith your approach i had to change your code with this:
if( empty( $format ) ) { $format = CMLUtils::get_date_format(); }else{ if( !empty( $d ) ) $format = $d; }
Forum: Plugins
In reply to: [Ceceppa Multilingua] Ignoring second parameter get_the_dateSorry, it didn’t work. It seems that $format is not empty in the function:
function get_the_date( $the_date, $d ) {
global $post;$format = CMLLanguage::get_current()->cml_date_format;
if( empty( $format ) ) {
if( ! empty( $d ) )
$format = $d;
else
$format = CMLUtils::get_date_format();
}$the_date = mysql2date( $format, $post->post_date );
return $the_date;
}I vardumped $format and it showed: STRING(6) “J F, Y”.
You can see how the dates behaves here: https://dev.softclear.net/dev2/es/blog/Forum: Plugins
In reply to: [Ceceppa Multilingua] Posts aren't shownSorry, my mistake.
It wasn’t about filtering posts, it was about reader settings: Settings > reading settings > “static page”. I changed it to “Your latest posts” and now blog pages are shown either in spanish or english. Anyways, thanks for your help Alessandro, you can close this issue if you want.Forum: Plugins
In reply to: Ceceppa Multilingua: posts aren't shownAlright, sorry
Forum: Plugins
In reply to: [Ceceppa Multilingua] posts filtering no longer works after updateHow did you manage to fix this bug? I’m having the same problem, i’m using Kakia theme from themeforest and WP 3.9.1. I’d appreciate if you guys could post the solution.