WordPress.com includes some unique features for their users, such as the ability to embed videos using the [youtube] shortcode. Trouble arises when users migrate their blogs to a self-hosted solution using WordPress.org, since the format is incompatible.
In this post we will see how to create a shortcode that allows to display the [youtube] shortcode in our self-hosted blogs.
WordPress allows you to embed tweets by pasting the tweet URL into your posts. You get a nice card with the tweet and all relevant details. Sadly, this card will not work on responsive sites due to a fix width applied by Twitter. In this post we’ll see how to remove it and also make our embedded tweet properly responsive.
A relatively little known WordPress feature is the ability to split your post into different pages. However, it’s a bit difficult to stylize so it matches your overall site style since by default, WordPress doesn’t apply CSS classes to target its elements. In this tutorial we will learn how to filter the function to add classes to stylize.
One area that is integral to a WordPress powered site but is currently a bit difficult to stylize is the login area. Moreover, it’s not something move around to place on sidebars or the site header. In this tutorial we will see how to create a shortcode that you can use everywhere, from your Text widget to post/pages content or the template files.
It’s generally useful in sites with extensive drop down menus and many levels of hierarchy to highlight the parent item that encompasses the list of current items in the menu we’re now browsing so we can keep track of where we are. In this tutorial we will learn how to use jQuery to achieve this in WordPress menus, but it can be applied to any menu that has a similar markup.