trickadee
Forum Replies Created
-
Hi There,
I still haven’t got this up and running, it’s a project I’ve parked for now. As Jake said, it’s about creating connections on the front end.
If you do write something, please let me know!I got this working in case you’re interested:
$args = array( 'taxonomy' => 'indicators' ); $terms = get_terms('indicators', $args); $count = count($terms); $i=0; if ($count > 0) { $cape_list = '<p class="indicators-archive">'; foreach ($terms as $term) { $opts = xydac_cloud(indicators,'', 'xo_basics'); $oxc = $opts[$term->slug]['xo_basics']; $i++; $term_list .= '<tr><td><a href="indicators/' . $term->slug . '" title="' . sprintf(__('View all post filed under %s', 'my_localization_domain'), $term->name) . '">' . $term->name . '</a></td><td>' .$term->description. '</td><td>' .$oxc. '</td></tr>'; } echo $term_list; }
Forum: Fixing WordPress
In reply to: htaccess Rewrite Giving 500 ErrorsThe bad code didn’t print properly. It’s basically the same thing over and over again with ‘nul’ characters splashed throughout it.
Forum: Fixing WordPress
In reply to: htaccess Rewrite Giving 500 ErrorsI’m having the same issue. About once a day my site goes down. I rewrite the .htaccess file to be this:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /manual/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /manual/index.php [L] </IfModule> # END WordPress
and 24 hours later, the .htaccess file looks like this:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /manual/ RewriteRule ^index\.php$ - [L] RRewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /manual/index.php [L] </IfModule> # END WordPress fModule> # END WordPress # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /manual/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /manual/index.php [L] </IfModule> # END WordPress
What can I do to stop this happening?
Thanks for the start. I might need to pull someone in on this- a bit hard for me.
Thanks for the reply xanderashwell.
The code I listed works as is, but I can’t figure out how to add into it a Taxonomy Manager Custom Field.I was wondering whether you got an answer to this part of your original post:
“I’m also looking for a way to query these fields within a “foreach $terms as $term” loop… “
Since I believe that’s where I’m at.Did you get the “foreach $terms as $term” loop working.
I’m trying to display an overview of my custom taxonomy with its fields that include name + archive link/ description and a custom field managed by this plugin. I can’t figure out how to display the custom field data in the third table column. Any help would be appreciated!
$args = array( 'taxonomy' => 'indicators' ); $terms = get_terms('indicators', $args); $count = count($terms); $i=0; if ($count > 0) { $cape_list = '<p class="indicators-archive">'; foreach ($terms as $term) { $i++; $term_list .= '<tr><td><a href="indicators/' . $term->slug . '" title="' . sprintf(__('View all post filed under %s', 'my_localization_domain'), $term->name) . '">' . $term->name . '</a></td><td>' .$term->description. '</td></tr>'; } echo $term_list; }
Forum: Themes and Templates
In reply to: Twenty Eleven Change Body ClassThanks very much- this was what I needed. ??