Search the Wiki

Viewing 131 to 140 of 337 items

Get post slug function

Taken from: http://www.tcbarrett.com/2011/09/wordpress-the_slug-get-post-slug-function/ Using basename() and get_permalink() to retrieve post slug Using global $post object to retrieve post slug   Fully hookable function to retrieve the post slug This provides you with a simple way retrieve and display the post slug. I find this useful for applying unique CSS ids and classes to my HTML mark  Full Article…

0

CSS Generated Content And Counters

This amazing content is taken from here: Smashing Magazine What Is Generated Content? In technical terms, generated content is a simple abstraction created by CSS in the document tree. As such, in practical terms, generated content exists only in the layout of the Web document. Accessing generated content via JavaScript is possible by reading the  Full Article…

0

Easily Add Custom Classes to Your First and Last Menu Items in WordPress

https://gist.github.com/thomasgriffin/4253190 Below is the code to do this programatically, it is worth noting that you can add classes via the menus page in the wp-admin by selecting Screen Options and then CSS Classes. The below code may be better for instances where you don’t want to depend on users to remember to add the classes manually.

0

How to subscribe to a feed in Feedly if it can’t find it

As a workaround you can put the following Feedly url infront of the complete feed url you wish to subscribe to. http://www.feedly.com/home#subscription/feed/ You would get something like this: http://www.feedly.com/home#subscription/feed/http://rss1.smashingmagazine.com/feed/

0

How To Setup Custom Queries For WP_Query Pagination

As written by Tom McFarlin. One of the nicest things about using WP_Queryis that it allows you to completely customize the data that you’re bringing back to the front end. For those of you who are completely unfamiliar with this API, it’s a powerful class that allows you to custom tailor a query against the WordPress  Full Article…

0

How to Move a WordPress Website Using MYSQL and phpMyAdmin

Taken from here: http://www.designshifts.com/how-to-move-a-wordpress-website-using-mysql-and-phpmyadmin/ You will need access to your phpMyAdmin or login to the DB server and run MySQL client as root. Use the following SQL command to update the new location of your WordPress website URL: After that you will need to fix URLs of the WordPress posts and pages, which translated from post  Full Article…

0

Configuring iPhone with Google services

Taken from here: http://www.theverge.com/2012/12/5/3732364/best-way-gmail-google-calendar-iphone-how-to Android users can take advantage of Google’s major services right out of the box, but setting Gmail, Google Contacts, and Google Calendar up on your iPhone isn’t quite so clear. It’s worth doing right, though: with a little elbow grease you can have a setup that’s every bit as good. It’ll let  Full Article…

0

WordPress Post Text Size Changer Using jQuery

This article is taken from here: http://wp.tutsplus.com/tutorials/theme-development/creating-a-wordpress-post-text-size-changer-using-jquery/ What Are We Actually Going to Create In this tutorial we are going to create a front-end text size changer that alters the font size of the posts as per the reader’s convenience. Suppose you are on a blog reading a post and you find it tough traversing through  Full Article…

0