Blog > wordpress

WP Show Custom Post Type posts in your blog


Warning: fopen(/home/niels/domains/nielsmusschoot.com/public_html/wp-content/plugins/fv-code-highlighter/cache/9d839d3f46af1c03330d51307bf4e3a0977ebd2b) [function.fopen]: failed to open stream: Permission denied in /home/niels/domains/nielsmusschoot.com/public_html/wp-content/plugins/fv-code-highlighter/Includes/Cache.php on line 69

1
2
3
4
5
6
7
8
9
10
11
12
add_filter( 'pre_get_posts', 'my_get_posts' );
function my_get_posts( $query ) {
if ( is_home() || is_single() )
$query->set( 'post_type', array( 'post', 'custom-post' ) );

return $query;
}

By Niels Musschoot
March 4, 2011, 4:58pm
Categories
Web Development

WP Pre Advertisement

By Niels Musschoot
March 4, 2011, 4:58pm
Categories
Web Development

WP Show Custom Post Type posts in your blog


Warning: fopen(/home/niels/domains/nielsmusschoot.com/public_html/wp-content/plugins/fv-code-highlighter/cache/9d839d3f46af1c03330d51307bf4e3a0977ebd2b) [function.fopen]: failed to open stream: Permission denied in /home/niels/domains/nielsmusschoot.com/public_html/wp-content/plugins/fv-code-highlighter/Includes/Cache.php on line 69

1
2
3
4
5
6
7
8
9
10
11
12
add_filter( 'pre_get_posts', 'my_get_posts' );
function my_get_posts( $query ) {
if ( is_home() || is_single() )
$query->set( 'post_type', array( 'post', 'custom-post' ) );

return $query;
}

By Niels Musschoot
March 4, 2011, 4:58pm
Categories
Web Development

WP Pre Advertisement

By Niels Musschoot
February 27, 2011, 11:50pm
Categories
Web Development

WP Sequence Viewer Plugin

WP Sequence Viewer

Sequence Image 1 / 0
Niels Musschoot Mexico - BS Air to Reverse - 1Niels Musschoot Mexico - BS Air to Reverse - 2Niels Musschoot Mexico - BS Air to Reverse - 3Niels Musschoot Mexico - BS Air to Reverse - 4Niels Musschoot Mexico - BS Air to Reverse - 5

Default Sequence Viewer without image description.

WP Sequence Viewer Plugin

This WordPress Plugin allows you to show Image Sequences in a nice player. The plugin searches for all images attached to a specific post and ads them to the Sequence Viewer.

Sequence Image 1 / 0
DSC_0031DSC_0032DSC_0033DSC_0034DSC_0035DSC_0036DSC_0037DSC_0038DSC_0039

You can add multiple Sequence Viewers to 1 post and every sequence viewer can have as many images as you want. Adding the Sequence Viewer is very simple using the Custom Shortcode . It’s also possible to add the Sequence Viewer into your sidebar or loop by calling a php function.

The Plugin Admin page allows you to change the CSS settings of the Sequence Viewer.

Download Plugin

By Niels Musschoot
November 26, 2010, 1:28pm
Categories
Web Development