Global changing of H Tags

Sure, locate the style.css file within your theme and paste the code below. I suggest using percentages in your declarations so as to keep the base size styling hopefully already in your theme. h1 { font-size: 150%; } h2 { font-size: 140%; } h3 { font-size: 130%; } h4 { font-size: 120%; } h5 { … Read more

How to echo tag description on loop-page.php using WPeC 3.8

get the term by its slug and echo out the descriptions elseif {is_tax ( ‘product_tag’ ) ){ $term_slug = get_query_var( ‘term’ ); $taxonomyName = get_query_var( ‘taxonomy’ ); $current_term = get_term_by( ‘slug’, $term_slug, $taxonomyName ); ?><h1 class=”entry-title”><?php echo $current_term->description; ?></h1> <?php }

How to enable all Tag Descriptions in loop?

Modified from the get_tags() Codex Example $tags = get_the_tags(); // for the specific post // $tags = get_tags(); // all tags $html=”<div class=”post_tags”>”; foreach ( $tags as $tag ) { $tag_link = get_tag_link( $tag->term_id ); $html .= “Describtion for “.ucfirst( strtolower( $tag->name ) ).”: $tag->description”; $html .= “<a href=”https://wordpress.stackexchange.com/questions/21234/{$tag_link}” title=”{$tag->name} Tag” class=”{$tag->slug}”>{$tag->name}</a>”; } $html .= … Read more

Get Adjacent Post By Tag

I would check out the Ambrosite Next/Previous Post Link Plus plugin which gives you a lot of arguments to pass to the “improved” next/prev link functions made by the plugin. I recently needed this type of functionality and this plugin worked great. With the plugin, you get to do stuff like this: <?php next_post_link_plus( array(‘in_cats’ … Read more

Require tags for bbPress topics [closed]

In the back end, it’s a matter of using the hook save_post, as topic is a Custom Post Type. If no Tags are filled, saving is cancelled and a link is presented so the user can go back to the editing screen. But, there’s one caveat: the title is not preserved, if it is a … Read more

Mass remove a number of tags from a number of posts

To change tags on a mass of posts can you use the default mass edit mode of WordPress. This more secure as a sql-statement. If you are on the edit post page, there you see all posts. Open the options on right top and edit a number of posts, there you will edit, maybe 500. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)