Custom Fields

Featured Videos On Archive Pages In Genesis – WordPress Website Design Article

The code in this download folder enables you to replace the featured image with a video on archive pages like this : The code ( as seen in the demo video ) enables you to : Use externally hosted ( Youtube & Vimeo ) or self hosted WordPress videos. Add your video file to a custom field named video on the single Edit Post screen. Use the Genesis > Theme Settings > Content Archives settings to align your video. Display…

Read More

Template To Order Posts In Multiple Categories by Custom Field Price – WordPress Website Design Article

Premium Member? – Request custom code For use with entries from any Taxonomy type & term, this page template sorts posts or pages by the price you add as the value for the custom field like this : The template enables you to : Display posts on the same archive page, with pagination, by any taxonomy type including categories, tags, custom post types and custom taxonomies and terms. Sort the posts by price so they order highest to lowest price…

Read More

Prepend Letter Before & Append Letter After Custom Field Value – WordPress Website Design Article

This code shows you how to automatically add a letter or letters before the dynamic value from a custom field as well as add letter(s) after the value. $time = get_post_meta( get_the_ID(), ‘totalTime’, true ); $PTM = ‘PT’ . $time . ‘M’; $time_PTM = $time ? $PTM : ‘PT5M’; In this example, the letters PT are prepended before the custom field value and the letter M is appended after. This enables you to use a custom field to add the…

Read More

Copy Wellness Pro Front Page For Use As Single Page Template – WordPress Website Design Article

This template can be used with unique content, including background images, on unlimited single pages. You can also display unique content in the sticky message. Demo Video # Shows the custom page template named Front Page Replicant displaying exactly the same as the front page template in Wellness Pro child theme by StudioPress. Installation Steps # There’s 2 steps : Step 1 – Upload the file named front-page-copy.php to the Wellness Pro themes root directory. You can then select the…

Read More

Use Custom Fields Outside The Content Area & Loop On Archives – WordPress Website Design Article

This code enables you to use custom fields including ACF fields outside the loop in any archive page type template. You can also display the content from a custom Wysiwyg Editor added to your archive template in any hook position outside the content area and loop. In this example, the contents from the custom Wysiwyg Editor is printed after the pagination on the archive page : You can use this code to display any type of content from any type…

Read More

Custom Post Types Plugins for WordPress – WordPress Website Design Article

If you plan to use WordPress for more than just a blog or simple static website, you’re probably going to use custom post types in some way. Custom post types let you create new content types to organize and display your information. For example, a “product” post type for an eCommerce store or an “event” post type for an events website. While you can create your own custom post types using code, there are also some great WordPress custom post…

Read More

Custom Link Featured Image For Book Cover In Author Pro Theme – WordPress Website Design Article

Premium Member? – Request custom code, guaranteed The code in this download enables you to change the book cover link for the featured image. If no custom link added, the image will be linked to the default which is the single book permalink. The code also enables you to modify the default functionality generated by the Genesis Author Pro plugin via the safety of your child theme avoiding loss of custom functionality when the plugin is updated. Demo Video #…

Read More

Show The Content Limit And Custom Field Value For Specific Post Types In Search Results – WordPress Website Design Article

The code in this download folder enables you to customize your search results. In this case, the code enables you to limit the content by number of words for standard post types as well as specific custom post types you name in the code. This way you can show a customized excerpt of any length with a customized link back to the single entry. If a custom field has been added, this will also display as seen in the following…

Read More

Essence Pro – Custom Hero Header Image On Category & Sub Category Archive Pages – WordPress Website Design Article

Need Code? – Request a Tutorial You can use this code to add custom header hero images on any type of archive page. In this case the solution is coded to work on category archives however you can simply change the name of the category.php template to any other which uses the WordPress Template Hierarchy, support for which is provided to paid members. Demo Video # Shows how you can upload a custom header hero image on any category or…

Read More

Genesis Sample Theme – Custom Archive Page Template With Different Hero Images – WordPress Website Design Article

This template enables you to display each archive page using a unique image behind the archive title and site header elements like this : In this example, the image is added using custom fields. The template can be used on any/all archive page types. Demo Video # Shows a unique hero image displayed behind the site header and archive title. On scroll, the background color for the site header changes from transparent to white. Tested using the Genesis Sample child…

Read More