• Skip to primary navigation
  • Skip to main content
  • Skip to footer

Eugen Oprea

Web Analytics, WordPress & SEO Advice

  • Work with Me
  • Blog
  • About
  • Contact

Genesis – How to Display Custom Taxonomy Terms

September 20, 2012 by Eugen Oprea

Creating posts and pages in WordPress is sufficient in most cases, but there are situations when you may need to store and display custom content.

WordPress supports registering custom post types, custom taxonomies and storing custom meta-data for each type of post.

Displaying custom fields is relatively simple through the use of get_post_meta function. But how can you display custom taxonomy terms attached to the current custom post type?

First of all add the following helper function to your functions.php file.

The eo_get_tax_terms function must be called within the loop. The first parameter is either a string (representing a taxonomy slug) or an array of taxonomy slugs (registered to the the current post type). You can specify a limit on the number of terms returned by the function (enter -1 to return them all), whether to return links to term archive pages as well as the separator character between taxonomy terms.

Depending on where you want to display the taxonomy terms and the custom taxonomies you have defined, add code such as the following to functions.php.

The above code fragment assumes there are 4 custom taxonomies defined (with slugs ‘taxonomy{x}’, x = 1..4). The function displays the terms in various ways, so change the code as you see it fits.

Note that you may use built-in WordPress taxonomies as well, namely categories and tags, whose slugs are category and post_tag respectively, if these have been registered with your custom post type.

How to Customize the Genesis Footer

September 10, 2012 by Eugen Oprea

By default, Genesis will display in the footer a “Return to Top of Page” link and a “Credits” section.

In case you would like to customize this, there are a couple of options available.

Use a plugin

The easiest way to do this is by using the Genesis Simple Edits plugin for WordPress.

This plugin will help you customize the post-info (byline), post-meta, and footer area on any Genesis theme.

But, because I am a big fan of using less plugins, there are a couple of coding options available that you can use without a plugin.

All you have to do is to edit the function.php file.

Customize the Return to Top of Page

In case you want to customize the text of this link make the necessarily changes and add the code below in functions.php.

Customize the Credits

In order to customize the credits you can use this code:

Replace the entire Footer

Finally, if you are like me, you will go ahead and customize the entire footer. Here’s what I did for this website:

This last option will remove the markup of your footer so you will need to add some custom CSS.

For example, if you want to center you footer, you will need to use the code below:

Genesis – Customize Post Info

September 8, 2012 by Eugen Oprea

If you are looking to customize the post info, such as removing the date of the article or the name of the author, there are a couple of options available.

First, you can completely remove the post info function, by adding the code below to your functions.php file.

But, if you want to remove only the date for example, you can add this filter and remove [post_author_posts_link], [post_date] or [post_time], based on your preferences.

When you add this code, make sure that there are no other functions that add similar functionality.

How to Change the WordPress Login Logo URL

September 6, 2012 by Eugen Oprea

You already know that you can customize the WordPress Login Logo, but what about the URL?

To change your WordPress Login Logo URL, especially for membership sites that just add the code below in your functions.php file.

Additionally if you would like to change the “Powered by WordPress” with your site title use this code:

How to Change the WordPress Login Logo

September 2, 2012 by Eugen Oprea

You can easily use a plugin to do this job, but as you know plugins add overheads to your blog.

That is why I would recommend you to use the code below if you would like to change the default WordPress login logo for your site.

Please note that you will need to upload your image via FTP in the images directory of your theme.

Also, remember to change the name of your image in the code above.

Additionally, it’s recommended for the image to be 274px wide and 63px tall. Otherwise, you will need to add additional CSS to make it work.

In case you need it, there is also a way to customize the WordPress Login Logo URL.

  • « Go to Previous Page
  • Page 1
  • Page 2
  • Page 3
  • Page 4
  • Go to Next Page »

Footer

Get Exclusive Conversion Tips!

Learn how to get more email subscribers and increase sales with exclusive tips and insights.

Copyright © 2009 - 2026 · EChOelse International Group Ltd. · All Rights Reserved · Smart Theme on Genesis Framework

  • Privacy Policy
  • Refund Policy
  • Terms of Services
  • Code
  • Contact