|
|
| Customize display order of posts by a simple drag-and-drop Ajax interface, now with support for custom post types and custom taxonomies. Wordpress Tutorial |
Noted That:
|
Start the Tips:1. First Download " postmash-custom.zip " Plugin to your Local Computer. (Click Download) 2. Then, Login to your " yourdomain.com/wp-admin " Dashboard. 3. Then, Click on " Plugins " + " Add New " from left sidemenu of Dashboard. 4. Now, Click on "Upload Plugin" button.
5. Now, Browse " postmash-custom.zip " Downloaded plugin from your computer, Where you downloaded postmash-custom.zip According to Step – 1 Above then, click on " Install Now" 6. Now, Click on " Active Plugin" 7. Then, See left sidemenu. " PostMash Custom – custom post order " folder is added on left sidemenu. Now, Click on " PostMash Custom – custom post order " folder. Noted that: If you do not see " PostMash Custom – custom post order " folder on left sidemenu then, see at left sidemenu " Settings " or " Tools ". 8. Now you configure yourself oR Watch video tutorial below about PostMash Custom – custom post order Configurtions and Settings or How to work " PostMash Custom – custom post order " in your WordPress site. oR After Activated Plugin According to Step-6 then,
|
| Guide |
|---|
|
Upload to wp-content/plugins/ and activate.
To make use of this chosen order you will need to modify your template code:
This just tells WP to get the posts ordered according to their ‘menu_order’ position. Therefore you can get the posts ordered anytime you use a function such as get_posts simply by giving it the required arguments:
Checkout the get_posts() function in the wordpress codex for more info. Instructions for Twenty TenThings may seem a bit different in Twenty Ten, since the loop has been moved from the individual templatefiles into loop.php, but actually it still works almost exactly the same. Below is the entire code you need for Twenty Tens index.php:
NEXT POST AND PREVIOUS POST LINKS ALSO You can now use the ‘Next Post’ and ‘Previous Post’ calls in your template file ‘single.php’, as usual, but rather than calling items by date, it will call items using the same order as set in postMash, using the following modified commands in place of the regular tags
(Please note that, by default, ‘In Same Category’ is set to TRUE. You will need to edit this if you wish to disable it. All other variables passed to the function should work as normal) OPTIONAL ADMIN INSTALLATION If you wish to view the posts in the WordPress admin ‘Edit Posts’ panel in the same order as you have set them postMash (rather than the default ‘Date Published’ or ‘Date Modified’), you can modify wp-admin/includes/post.php, on line 784 as follows;
|
| custom , customize , display , order , posts , simple , drag , drop , ajax , interface , |
| Name |
|---|
Read Article https://develop.horje.com/learn/1434/reference