Build Your Own Business Website header image

WordPress Functions

Custom Post Type Case Study – Part 9 – Create a Variation on the Shortcode Function

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects - ,

Applies to - ,

In this session, we create another shortcode function that is a variation on our original using a different attribute of the Custom Post Meta. Rick: Now, let’s just do this one more time although it’s a great, big cut and paste job now. Reese: Let me ask you a quick question. Rick: Go ahead. Reese:

Custom Post Type Case Study – Part 8 – Create the Shortcode Function

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects - ,

Applies to - ,

In this session, we create the code for the shortcode function in the custom_functions.php file. We create a function that will display the information we want on the post and then create the shortcode. We also add a error handling to the shortcode function. Reese: Okay. Rick: Because that’s where we’re going to go next.

Custom Post Type Case Study – Part 10 – Refine the Shortcode Function

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects - ,

Applies to - ,

In this session, we refine the shortcode function code to rearrange how various elements are displayed. You know, you could choose to put the… you know, you could have the full reference and a… I don’t know what you’d call that little thing. What do you call the numbers after the reference?That’s actually the citation.

Community Library Case Study Case Study – Part 61 Get the Catalog Item Post Image

Difficulty Level -

Filed Under Topics - , ,

Listed Under Lesson Subjects -

Applies to - ,

This is the 61st in a series of live lessons on using WordPress and Thesis as a Content Management System (CMS) for a Community Library Website. In this lesson we get the post image of the Catalog Item and display it on the Review. This way we don’t need to duplicate data by having 2

Community Library Website Case Study – Part 60 Link Reviews Back to Catalog Items

Difficulty Level -

Filed Under Topics - , ,

Listed Under Lesson Subjects -

Applies to - ,

This is the 60th in a series of live lessons on using WordPress and Thesis as a Content Management System (CMS) for a Community Library Website. In this lesson we create the link on the Review that takes us to the original Catalog Item.  We use get_post_meta to get the catalog item post id and

Community News Case Study – Part 15 – Format the Display of the Date

Difficulty Level -

Filed Under Topics - , ,

Listed Under Lesson Subjects -

Applies to - ,

This is the 15th in a series on using WordPress and Thesis as a Content Management System (CMS). In this case study we are creating a community news site. We have created a static page to display our upcoming events sorted by the event date. Now we are going to format the display of the

Community News Case Study – Part 14 – Show Only Upcoming Events

Difficulty Level -

Filed Under Topics - , , ,

Listed Under Lesson Subjects - ,

Applies to - ,

This is the 14th in a series on using WordPress and Thesis as a Content Management System (CMS). In this case study we are creating a community news site. We have created a static page to display our events sorted by the event date. This page displays all events, regardless of event date. Now we

Community News Case Study – Part 16 – Display Event Venue

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Applies to - ,

This is the 16th in a series on using WordPress and Thesis as a Content Management System (CMS). In this case study we are creating a community news site. We have created a static page to display our upcoming events sorted by the event date. Now we are going to add the display of the

Community News Case Study – Part 12 – Create a Page with a Custom Loop to Display the Events Sorted by Date

Difficulty Level -

Filed Under Topics - , ,

Listed Under Lesson Subjects - ,

Applies to - ,

This is the 12th in a series on using WordPress and Thesis as a Content Management System (CMS). In this case study we are creating a community news site. In this lesson we will create a static page to display our events sorted by the event date. In other words we are creating a custom

Community News Case Study – Part 13 – Display Event Date on Teasers

Difficulty Level -

Filed Under Topics - , ,

Listed Under Lesson Subjects - ,

Applies to - ,

This is the 13th in a series on using WordPress and Thesis as a Content Management System (CMS). In this case study we are creating a community news site. We have created a static page to display our events sorted by the event date. Now we want to display the event date on the event

Community Library Website Case Study – Part 55 Add Sort Order to Custom Taxonomy

Difficulty Level -

Filed Under Topics - , , ,

Listed Under Lesson Subjects - ,

Applies to - ,

This is the 55th in a series of live lessons on using WordPress and Thesis as a Content Management System (CMS). In this lesson we add a sort order to our custom taxonomies by means of a modified version of the My Category Order plugin. Once we’ve modified the plugin, we add that sort to

Community Library Website Case Study – Part 54 Sort Archive Posts by Meta Value

This is the 54th in a series of live lessons on using WordPress and Thesis as a Content Management System (CMS). In this lesson we customize the query string for archive pages so that the results are sorted by meta value. In this case - by callnumber. We capture the global variable $query_string, deconstruct it

Community Library Website Case Study – Part 53 Show the Term Label Only when a Term Exists

Difficulty Level -

Filed Under Topics - , ,

Listed Under Lesson Subjects -

Applies to - ,

This is the 53rd in a series of live lessons on using WordPress and Thesis as a Content Management System (CMS). In this lesson we revise the code we wrote previously so that when there is no taxonomy term associated with a post we don’t display the taxonomy label. We use the get_the_term_list() function to

Community Library Website Case Study – Part 49 – Naming Conflicts in Custom Taxonomies

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Applies to - ,

This is the 49th in a series of live lessons on using WordPress and Thesis as a Content Management System (CMS) for a Community Library Website. In this lesson we discuss issues that have arisen in the project due to naming conflicts in taxonomy terms.  Ordinarily WordPress handles this, however when importing data using CSV

Community Library Website Case Study – Part 30, Using a Query String in a URL

Difficulty Level -

Filed Under Topics - , , , ,

Listed Under Lesson Subjects -

Applies to - ,

This is the thirtieth in a series of live lessons on using WordPress and Thesis as a Content Management System (CMS). In this lesson we introduce how to include taxonomy queries in a URL. We’re going to use the native WordPress functionality to add a custom query inside the URLs for the searchable catalog menus.

Community Library Website Case Study – Part 25, Add Taxonomy Data to the Teaser

Difficulty Level -

Filed Under Topics - , , ,

Listed Under Lesson Subjects - ,

Applies to - ,

This is the twenty fifth in a series of live lessons on using WordPress and Thesis as a Content Management System (CMS). In this lesson we continue to add data, location taxonomy and topics in this case, to the bottom of the Teaser. We align these on the bottom left with their respective names followed

Community Library Website Case Study – Part 24, Add Taxonomy and Post Meta Data to the Teaser

This is the twenty fourth in a series of live lessons on using WordPress and Thesis as a Content Management System (CMS). In this lesson we add the custom post meta of subtitle and author’s name to the teaser. We previously added this information to the post. We accomplish this with Thesis hooks in custom_functions.php.

Community Library Website Case Study- Part 23 – Remove Custom Post Meta from Post Display

Difficulty Level -

Filed Under Topics - , ,

Listed Under Lesson Subjects -

Applies to - ,

This is the twenty third in a series of live lessons on using WordPress and Thesis as a Content Management System (CMS). In this lesson we take 4 custom post meta elements that we added to our post display in part 21 and remove them from the normal post display. We are adding “location”, “call

Community Library Website Case Study – Part 20 – Add topics and audience to book display

Difficulty Level -

Filed Under Topics - ,

Listed Under Lesson Subjects -

Applies to - ,

This is the twentieth in a series of live lessons on using WordPress and Thesis as a Content Management System (CMS). In this lesson we take 2 pieces of custom taxonomy data and add it to our catalog item type post display. We are adding both “topics” and “audience” to the display of our custom

Community Library Website Case Study – Part 21 – Display the Rest of the Post Meta in the Post

Difficulty Level -

Filed Under Topics - , ,

Listed Under Lesson Subjects -

Applies to - ,

This is the twenty first in a series of live lessons on using WordPress and Thesis as a Content Management System (CMS). In this lesson we take 4 custom post meta elements and add them to our catalog item type post display. We are adding “location”, “call number”, “ISBN” and “Publication Date” to the display