Diana K. Cury
Forum Replies Created
-
Forum: Plugins
In reply to: Forms and keep forms data within post-typeAnyone?
Forum: Fixing WordPress
In reply to: Upgrade to 3.1 breaks comment notification via emailI think you can enable it in wp-admin/options.php, something with notify can′t remember now…
Forum: Plugins
In reply to: [Wordpress Wiki] [Plugin: WordPress Wiki] Editing redlink in foreign languageNow I seeing this ??
I think something about escaped caracters.
A redlink
Histórico da Vers?o
become:
wiki/new?new_wiki_page=true&nonce=03b0deed9c&title=<strong>TemaADA-Histricodaverso</strong>
There’s something we can do it about?! Write escaped titles maybe?
Forum: Plugins
In reply to: Forms and keep forms data within post-typeAnyone?
Forum: Fixing WordPress
In reply to: Want display 5 post from each taxonomy in page templateThanks, vtxyzzy I just found a new code and works fine:
The code above is quite simples but only for returning posts from categories.
Forum: Fixing WordPress
In reply to: Want display 5 post from each taxonomy in page templateThanks vtxyzzy, but still don’t work!
When added
'cat' => $category->term_id
, nothing shows up.Forum: Fixing WordPress
In reply to: Want display 5 post from each taxonomy in page templateSorry.
The code I’m using, is supposed to display 5 posts from each taxonomy, but is not working, is showing the same posts everytime:
Forum: Fixing WordPress
In reply to: Want display 5 post from each taxonomy in page templateThe code below is almost working. This code works for showing 5 last posts from all categories, I adapted to show post_types, but it shows the same posts.
categoria = taxonomy
anuncios = post_type[Code moderated as per the Forum Rules. Please use the pastebin]
Also, I want to add the RSS for every taxonomy, the code I have works nice, but only in single template (a bit hard-coded):
<p><?php echo get_the_term_list( get_the_ID(), 'categoria', "In: " ) ?> <a href="<?php bloginfo('url') ?>/?feed=rss2&categoria=<?php $terms_as_text = strip_tags( get_the_term_list( $wp_query->post->ID, 'categoria', '', ', ', '' ) ); echo $terms_as_text; ?>" >RSS</a> </p>
Just need to insert the code above beside every taxonomy title and show the correct posts. Almost there, but I need some help!
Forum: Fixing WordPress
In reply to: Suggests – Volunteering on dogs adoption siteThank you for suggest.
I need to know what is the most suitable, categories, tags, post types etc.
I′m having the same error trying this plugin offline, Downloaded the file from google, but still, arent working offline.
I like this simple plugin alot but I want to customize the output a bit.
Forum: Plugins
In reply to: [Plugin: Cimy User Extra Fields] fields not showing up on author profile pageQuite old, but anyway…
I′m not a PHP coder but I know how to show CImy extra fields in
author.php
.I created 2 extra fields: FACEBOOK and TWITTER. In
author.php
, add this code somewhere before<?php if(isset($_GET['author_name']))...
:<?php $user_ID =$curauth->ID ; $fb = get_cimyFieldValue( $user_ID , FACEBOOK); $tt = get_cimyFieldValue( $user_ID , TWITTER); ?>
Ok. now to show up these extra fields, just add follow:
<a href="<?php echo $tt; ?>" target="_blank" >Twitter</a> <a href="<?php echo $fb; ?>" target="_blank" >Facebook</a>
It′s works for me.
Now I have to guess how to show some fields at pages. Exemple: a page called “Our Authors” with avatars and name, linking to each author page.
Forum: Themes and Templates
In reply to: Themes without commentsHi there,
I usually just remove the line
<?php comments_template(); ?>
and everything related. It′s very simple, that′s why most theme creators leave all default.Forum: Plugins
In reply to: Include files only if existsI got it!
I read the Author_templates.php and there it was:
$authordata->ID
But now, I don′t know how to use the conditional, isn′t working:
<?php if (! file_exists('aut-'.$authordata->ID.'.php')) { ?> <?php include('aut-'.$authordata->ID.'.php'); ?> <?php } ?>
I want include a file aut-{user-ID}.php only if exists, if not, then include a default.php file.
Forum: Plugins
In reply to: How to show excerpt only?You only have to remove the link code:
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
Becomes…
<h2><?php the_title(); ?></h2>
Also in archive.php, just remove the code e use
the-excerpt()
Forum: Plugins
In reply to: Include files only if existsThat is so hard! Any tip anyone?!