Member since 09/03/2010

7 snippets

1121 profile views

0 Comment(s) Posted

View their favorites



first submission:submitting first snipplet

jschultz76's Recent Snippets

« Prev 1 Next »
This will show a number of recent posts along with their associated featured image (thumbnail) if they have one. The template code asks for the 2 most recent posts with the custom post type of "news." Change the quantity and post type as needed. This...
0 455 posted 10 years ago by jschultz76
Code used to get the content, title, excerpt, etc for a specific page or post in WordPress. Replace the post id with your own specific ID.
2 421 posted 10 years ago by jschultz76
Copied from the WordPress codex and modified
0 475 posted 11 years ago by jschultz76
This code should be added to the functions.php file in the theme's folder. The code will deregister the local copy of jQuery and instead include the google hosted copy. It will also register other scripts.
0 659 posted 11 years ago by jschultz76
These are the commands necessary to modify the database on a Symfony project using Doctrine after the projects has been set up. In other words, this is for after you've already created the database and added data, and you don't want to rebuild the da...
0 486 posted 11 years ago by jschultz76
The code below should go at the top of the plugin's main file. This lets WordPress know that it is a plugin and what it is called, as well as other details.
0 388 posted 11 years ago by jschultz76
Code for enabling custom menus in your theme in WordPress 3. This code is from http://justintadlock.com/archives/2010/06/01/goodbye-headaches-hello-menus
0 469 posted 12 years ago by jschultz76
« Prev 1 Next »