diego018
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Help me add a "alt" attribute in this code.i have found how, i just added a $alt=” :
<div class=”comment-author vcard”>
<?php echo get_avatar($comment,$size=’50’,$default=” ,$alt=’grav’ ); ?>
comment_ID ) ) ?>”> <?php comment_date(‘n-j-Y’); ?>
</div>thanks ;D
Forum: Installing WordPress
In reply to: Just upgraded, and can't see options in "publish page"thanks ommunist ??
Forum: Fixing WordPress
In reply to: a category dissapeared randomly, what could have happened?i couldn’t recover the category. i created a new one and moved all the posts to there.
Forum: Fixing WordPress
In reply to: change "content-language" meta tag in each page.someone helped me at digitalpoint and here is the code, useful for blogs in multiple languages. i share it here with you.
<?php
{$lang = “es, us”;} //this is the default to show
if(preg_match(“/\/en\//”,$_SERVER[‘REQUEST_URI’])) {
$lang = “en, us”; //if the post has in the url /en/ show this.
}
?>
<meta http-equiv=”Content-Language” content=”<?php echo $lang ?>”>Forum: Fixing WordPress
In reply to: changing the default language meta tagsmaybe if you use a php function in the header with this :
if url is “blog english” then “content=”US”
if url is “blog french” then “content=”FR”i don’t remember how to code php but i think someone with basic knowledge on it can help you.
Forum: Fixing WordPress
In reply to: WordPress categories messed up after a update.ok, thanks, i have been able to solve it.
Forum: Themes and Templates
In reply to: How do i query all the posts from a specific tag in my sidebar?Thanks, the page that i saw in the codex wasn′t that one.
Now my template is finished, thanks!Forum: Plugins
In reply to: is there a plugin to send mail to the people that comment?hi clhmedia, well it works for new people that comment. But now for all the people that commented already? im still looking for a solution. thanks anyway!
Forum: Plugins
In reply to: is there a plugin to add description to a tag page?i have managed to add descriptions to the tags pages, maybe i will write a plugin with this, but i think that im the only one that wants it.
anyway, is there a plugin to add meta tags like keywords, to tags?
Forum: Fixing WordPress
In reply to: How can I call a function into another function?ok, so how do you place the variable in the function?
i have converted the argument into a variable:
<?php $current_tag = single_tag_title("", false); ?>
now
<?php single_tag_title(); ?>
is
$current_tag
am i right?now how can i add that variable to this function (replacing the tag “coldplay” with “$current_tag”)
<?php echo ' '; if ( is_tag(coldplay) ) { ' » '; include(TEMPLATEPATH . '/articles/coldplay.php'); } echo ' '; ?>
how is the final code?
please help me thanks! i have been hours trying to solve itForum: Fixing WordPress
In reply to: Help me inserting the $posttag in a php include function!update:
i have found this:<?php $current_tag = single_tag_title("", false); ?>
this gets the title of the tag. how can i add it to
include(TEMPLATEPATH . '/articles/coldplay.php');
and
if ( is_tag(coldplay) ) {
replacing coldplay??
Forum: Fixing WordPress
In reply to: Homepage 404 errorhi, im having the same problem. AFter restoring a backup in my database, i can access all admin pages, all post pages, etc. but the index page doesnt display the posts, it justs load and gives a 404 error.
i dont know what to do, i have tried changing the theme, disabling all plugins, but it doesnt work. what can i do???
thanks..Forum: Fixing WordPress
In reply to: changed my server, permalinks not working okdesactivated, then activated the redirection plugin. Now all works fine. this helped me as a diary to solve my problem.
Forum: Fixing WordPress
In reply to: changed my server, permalinks not working okthis error was because i had mod_rewrite not enabled. i have enabled it now, i have checked that it works by redirecting another page. But i cant still use pretty permalinks! they keep me getting a 404 error page. i think the error is in the .htaccess:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !index.php
RewriteRule ^(.*)$ /index.php/$1 [L,QSA]
</IfModule># END WordPress
because my config on my apache doesnt have a module mod_rewrite.c because its not needed anymore on apache 2.0
whats the way my .htaccess should be? any sugerence?Forum: Fixing WordPress
In reply to: My comments now delay a lot! update to 2.3.3thanks.. that was one of the reasons.