Build Your Own Business Website header image

Shortcodes

Lesson 14 – Part 6 – Ex. #4 – Make the Loop Shortcode Configurable

Difficulty Level -

Filed Under Topics - , , ,

Listed Under Lesson Subjects - ,

Applies to -

What you're going to have to do in this situation is write a function for each one of these things you want to do for your Thesis theme website. If you want to do one for Apples and one for Bananas then you have to write another function for Bananas and create another shortcode. That's

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.

WordPress Shortcode Seminar – Part 2 – Create a Twitter Shortcode

Difficulty Level -

Filed Under Topics - , , ,

Listed Under Lesson Subjects -

Applies to -

This is part 2 of the Shortcode Seminar.  In this session we take an HTML link to twitter and make it into a shortcode that can be entered into any post or page.  This is a different style of shortcode than we looked at in the first part of the seminar.  This is a relatively