overflow
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: remove date/time from entry if it is a page, in search resultsYes! Exactly what I wanted 🙂 Thanks a lot!
Forum: Fixing WordPress
In reply to: remove date/time from entry if it is a page, in search resultsthe code ticks don’t work so well apparently, the code i pasted ended up a bit messed up, but i think u get the idea. thanks!
Forum: Fixing WordPress
In reply to: remove date/time from entry if it is a page, in search resultsYes, I tried that… it’s like this:
<div id="container"> <?php if(have_posts()) : ?> <?php while(have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <div class="post_header"> <?php if( is_page() ) { echo "PAGE!"; } ?> <h2>" title="<?php the_title(); ?>"> <?php the_title(); ?></h2>In concrete the part
<?php if( is_page() ) { echo "PAGE!"; } ?>But it never shows the PAGE! string as I wished…
As far as I understood, the is_page() is to detect if the current big render is a page… in this case it is a search.
Forum: Fixing WordPress
In reply to: using localized locale.php: possible? what happens in an upgrade?Solved.
Downloaded the Portuguese version from pt.ww.wp.xz.cn, unzipped, copied the folder languages from inside wp-content, pasted inside the wp-content in my original instalation.
Then edited wp-config.php and found
define (‘WPLANG’, ”);
which I turned into
define (‘WPLANG’, ‘pt_PT’);
And now all is in Portuguese which is an added bonus.
I’ve been told in the Portuguese forum that editing the locale.php was a bad idea and that it would be overwritten in the next update.
Done. 😉
Forum: Fixing WordPress
In reply to: using localized locale.php: possible? what happens in an upgrade?Thanks @rakxzo
I can change the way it is displayed, but not the names of the months for example. In Portuguese January is Janeiro, and so on. Any way I could specify that that would be upgrade-proof?
Forum: Requests and Feedback
In reply to: Forums registration email; character encoding issue?No, well i’ll space it.
It comes as & # 8 2 5 0 ; (not rendered)
Forum: Requests and Feedback
In reply to: Forums registration email; character encoding issue?Hum… it was rendered into ›
Let’s see if I wrap it in code
›Hope it works