Recent posts - page 2

2

HTML / CSS centered menu

2010-01-16 @ 15:00

It’s not very easy to create a topmenu as a list with centered list style elements. However it’s possible and here is how to do it.

  • Share/Bookmark
  • takien
    2009-09-14 @ 14:22

    thanks, it’s very helpful

  • Paolo Bergantino
    2009-08-28 @ 12:28

    Cheers for the backlink, glad it helped.

Wordpress rewrite their URLs in a beautiful way which makes them very user friendly. I’ve created a function that converts a string to be user friendly, the Wordpress way.

  • Share/Bookmark

Get XML data with Xpath & Curl

2010-01-16 @ 14:58

This example is downloading data from an XML file from an RSS feed by using XPath. The XML file is downloaded with Curl, so make sure it is enabled on the server that runs the script. The titles are printed out, just to show that it works.

  • Share/Bookmark

text-shadow

2010-01-16 @ 14:57

Did you know that CSS3 supports text shadows? A text shadow is what it sounds like, a shadow to a text, from all possible angles.

  • Share/Bookmark
1

WordPress cheat sheet

2010-01-16 @ 14:57

Almost all functions in Wordpress. It was written for Wordpress 2.8.2 but will probably work with future versions as well.

  • Share/Bookmark
  • quicklycode
    2010-05-12 @ 11:19

    Wordpress Help Sheet Wallpaper:
    http://www.quicklycode.com/wallpapers/wordpress-help-sheet-wallpaper

delete_post_link()

2010-01-16 @ 14:55

I have created a function called ”Delete Post Link”. If you are logged in you will see a link which allows you to delete the current page or post, even without visiting admin.

  • Share/Bookmark
2

get_content() WITH formatting

2010-01-16 @ 14:55

Normally the get_the_content() tag returns the content WITHOUT formatting. I found out a solution in Wordpress core to make get_the_content() tag return the same content as the_content().

  • Share/Bookmark
  • illis
    2010-02-11 @ 07:50

    This is excellent, thank you very much!

  • GF Prints
    2010-01-10 @ 14:49

    Thanks for this solution, was having troubles with some php scripts there,.

    cheers

8

get_depth()

2010-01-16 @ 14:54

I created a function that returns the depth of a page or category. The depth is how many levels from the root the page or category in its hierarchy. The root level number is 0.

  • Share/Bookmark
  • Sander
    2010-07-23 @ 22:27

    Thanks, saved me a lot of work!!!

  • Colin Morgan
    2010-05-26 @ 19:35

    Thank you so much. It's very difficult to find advanced WordPress snippets like this. I'll be subscribing.

  • admin
    2010-05-04 @ 05:45

    Yes, I always need backlinks. Thanks for asking.

get_id_by_post_name()

2010-01-16 @ 14:53

The function converts a post / page name to a post /page ID.

  • Share/Bookmark
1

get_permalink_by_name()

2010-01-16 @ 14:53

I created a function that returns an URL when sending a post / page name as an in parameter. Put the function into your functions.php in your theme folder.

  • Share/Bookmark
  • Anthony Tiefenbach
    2010-05-04 @ 00:53

    I'm using this function on a page to go link back to another page, by name, within the loop, with no problems. However, on a post, within the loop, [...]