How do I add a checkbox option to this custom post type code?
How do I add a checkbox option to this custom post type code?
How do I add a checkbox option to this custom post type code?
Ok I have figured it out; added the following to functions.php: add_filter( ‘posts_request’, ‘my_request_filter’, 10, 2 ); function my_request_filter($sql, $query) { if($query->is_main_query() && is_search()) { $sql = “SELECT * FROM wp_posts WHERE post_content LIKE ‘[smoothslider%’ AND post_parent !=’0′”; } return $sql; } I understand that with no access to the database or being able to … Read more
Searching the plugin support forum, I have found this plugin Add Linked Images To Gallery. This plugin appears to handle the first half of my problem: auto-importing images to media library. No support for auto-feature-izing the first image.
How to add audio media in a post?
It seems that a few people create a custom function to filter in custom taxonomy names into post_type_link. This post provides a simple approach to problem: Mixing custom post type and taxonomy rewrite structures?
OK … code might still be a bit on the flimsy side, but here’s what I came up with (still not posting the old, even crappier, PHP; sorry down-voter ) in case anyone else might have use for it or can improve on it. <section class=”column first”> <h2>What’s New</h2> <?php $sticky = get_option( ‘sticky_posts’ ); … Read more
If not too late for the answere Since Skype has come to windows ,it will take default ports so local servers can not connect to database Check the ports ,and search for solutions ,if that is the case…
User driven content problems
Menu support for touch devices
However you can create plugin for that. From admin end, you can specify the folder path. From there videos can be loaded in your site. That’s all. You have to write all video supported format.