how to create add-able metaboxes in wordpress post edit screen?
There’s several plugins which enable easy creation of meta boxes. Advanced Custom Fields (ACF) is one of the best and easiest to use for non coders.
There’s several plugins which enable easy creation of meta boxes. Advanced Custom Fields (ACF) is one of the best and easiest to use for non coders.
Try disabling the visual editor in your User Profile and see if that helps. If it does, disable any plugins – always one of the first troubleshooting tips to try with WordPress – that have anything to do with the editor functions and enable the Visual Editor again and see if the text is still … Read more
Make a paginated article (for easier reading on mobile)
You can’t set multiple “menu_orders” specifically. There is one spot for that value in the posts table. You should be able to solve this by creating your own category specific menu order with custom meta fields. I wouldn’t call this a difficult project but there is a bit of work to it. You are going … Read more
Send and Embed Vine (in WP Post) on Facebook
You have two problems. First need to global $wpdb;. Then you are using the_title() and the_permalink() both of which automatically echo out a value. So you need to switch them to get_the_title() and get_permalink(). function get_post_by_alphabet($the_char){ global $wpdb; $first_char = $the_char; $postids=$wpdb->get_col($wpdb->prepare(” SELECT ID FROM $wpdb->posts WHERE SUBSTR($wpdb->posts.post_title,1,1) = %s ORDER BY $wpdb->posts.post_title”,$first_char)); if ($postids) … Read more
Have you tried the plugin listed here? http://glue-talk.com/359/wordpress-plugin-limit-post-creation/
yes you can do that. You can use get_category_link for it. if(): while(): the_content(); if(category == “category one”){ // Get the ID of a given category $category_id = get_cat_ID( ‘helper for category one’ ); //get_cat_ID(‘category_name’); // Get the URL of this category $category_link = get_category_link( $category_id ); // Print category link here } else{ display_nothink … Read more
Try in_category again, but also with specifying the post id: if (in_category(‘destaque’, $post->ID)) { //do whatever you need to }
Looking for the solution, I want to give more information about what I have done so far: My Actual configuration – WordPress : 3.8 – PHP : 5.3 – Theme : custom based on _s (underscore) – Hebergeur : local XAMPP My archive template <main id=”main” class=”site-main” role=”main”> <?php // get all the categories from … Read more