Explanation of User Roles and Capabilities
You can create capabilities for each custom post type and add this to the different roles; see this answer from an question here.
You can create capabilities for each custom post type and add this to the different roles; see this answer from an question here.
Move the custom post types to a plugin. They should never be part of a theme for exactly the reason you asked here. 🙂 In your theme add just the needed template files, but not the code for post type registration.
The following line is incorrect as showposts is deprecated. $recent = new WP_Query(“showposts=30”); Instead use, $recent = new WP_Query(‘posts_per_page=30’); Following that, Does the thumbnail size of 80×80 exist? array(80,80) If not try any of, $thumb = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), small ); $thumb = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), medium ); $thumb = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), large ); Remember each of … Read more
You can use a couple known plugins. TYPES and VIEWS, by wp-types.com. Please keep in mind that I am in no way, shape, or form affiliated with these plugins or plugin authors. Also, please note, the TYPES plugin is free, and the VIEWS plugin is premium. You will not be able to receive support for … Read more
i’d use custom post type “slideshow” and multiple custom field “image” only. Plugin named Types should do the trick for you, but you’ll still have to code the slideshow
A sub-menu generally is made by adding another ul/li elements inside an li, like this: <ul> <!– Menu –> <li>Menu item 1</li> <li>Menu item 2</li> <li>Menu item 3 <ul> <!– Sub Menu –> <li>Sub item 1</li> <li>Sub item 2</li> </ul> </li> </ul> But if you want some dropdown menu, you have to add some css, … Read more
Here are some useful guides that may help with the page development in wordpress… http://codex.wordpress.org/Pages http://www.wpbeginner.com/wp-themes/how-to-create-a-custom-page-in-wordpress/
Sounds like you … Don’t have mod_rewrite installed or enabled Or your .htaccess file in not being edited To check the first make a file with <?php phpinfo(); in it, save it to your server– same place you have WordPress– named something like phpinfo.php, and load the file in a browser. Look for mod_rewrite. It … Read more
WordPress is doing exactly what you’re telling it to do, based on the Template Hierarchy and your Reading Settings. The first thing to understand is that WordPress uses index.php as the default fallback template file for all contexts, and not as the site front page template. The second thing to understand is that the template … Read more
See the Codex section on jQuery noConflict wrappers in WordPress: […]if you really like the short $ instead of jQuery, you can use the following wrapper around your code: jQuery(document).ready(function($) { // Inside of this function, $() will work as an alias for jQuery() // and other libraries also using $ will not be accessible … Read more