tokara
Forum Replies Created
-
Hello Jeff
Thanks for the plugin.
As far the this thread, attached image goes into the libragy and has to me manually inserted into the post.
However, I have a different concern, I set max 3 files to attach, but in fact it does not work. Once I select the first tile and click ADD ANOTHER IMAGE, and select the second file, the fist one get replaced and I cann’t upload more than one file.
Would appreciate your suggestionsP.S.
Obviously you would have to upload modified file back to your phugin’s directory. Always backup the original ??Hello guys!
Here is a solution how to use SortTable Post to list post of a selected category on a separate page.1) Download the sorttablepost.php and modify it as follows;
2)Find line: // Get options from shortcode and generate SortTable
3) Go 10 lines below to line: $opt_notags = $args[‘notag’] . $args[‘notags’]; // Boolean, default ‘false’
4) Insert two lines after the above line:
$opt_catids = $args[‘catid’] . $args[‘catids’]; // Boolean, default ‘false’
define(“category”, $opt_catids);5) Find line:
$sorttable = new WP_Query( array( ‘posts_per_page’ => -1, ‘post_type’ => $opt_type, ‘orderby’ => ‘date’, ‘order’ => ‘DESC’ ) );6) Modify (or replace) line found as (with):
$sorttable = new WP_Query( array( ‘posts_per_page’ => -1, ‘cat’ => category, ‘post_type’ => $opt_type, ‘orderby’ => ‘date’, ‘order’ => ‘DESC’ ) );7) Find IDs for all your categories and create respective post pages (one per category); create pages based menu;
8) Edit every created page, placing shortcode: catids=X into the standart shortcode line, where “X” is the respective category ID number. Example:
[sorttablepost nothumb=”true” notags=”true” catids=9]
The above shortcode line will result in table without thumbs and tags and it will have post with the category ID=9Good luck!