Forum Replies Created

Viewing 15 replies - 301 through 315 (of 358 total)
  • Plugin Author Shazzad Hossain Khan

    (@sajib1223)

    Hi, it can’t be like that. Perhaps, try this – https://www.ads-software.com/plugins/list-category-posts/ . It does exactly what you need.

    Plugin Author Shazzad Hossain Khan

    (@sajib1223)

    Well, this is can be achieved.

    1. Install this plugin – Custom Post Type UI
    2. Register a Custom Taxonomy for Post (name it “Alphabet”)
    3. Insert Some Terms (A,B,C,D) for that taxonomy.
    4. Then Chose appropriate taxonomy for each of the post. There’s a bulk edit function which could be useful.
    5. Then create a new Post List – Category + Post
    6. On “Terms” tab – Select the newly created taxonomy (whatever you named it, maybe “Alphabet”)
    7. Then follow the steps i posted earlier. (https://www.ads-software.com/support/topic/group-by-post-category?replies=5#post-5700427)
    8. On “Template” tab, remove the line –
    <a href="[term_link]" class="my_cat_link" data-toggle="#cpl_[term_id]">[term_name]</a> – (this is because you wont need to display the taxonomies)
    9. “Style” tab could be empty, as there’s no show/hide mechanism.

    ** Taxonomy == Group (ex: Continent)
    ** Terms == Group Element (ex: Africa)

    Cheers ??

    Plugin Author Shazzad Hossain Khan

    (@sajib1223)

    Please post a review here ??

    And there’s no option for Group By Post name, and logically how could that be, is there multiple post with same name ?

    Plugin Author Shazzad Hossain Khan

    (@sajib1223)

    Definitely. Use shortcode [post_terms tax=”category”]. Like shown below.

    [posts]
        [post_title] - [post_terms tax="category"]
    [/posts]
    Plugin Author Shazzad Hossain Khan

    (@sajib1223)

    Hi,
    It should be fairly easy to create a Category + Post list , where category are sorted alphabetically. To do this –

    1. Go to List creation page.
    2. Select “List Type” = Category + Post
    3. Click on “Terms” Tab
    4. Set “Taxonomy” to “Category”, “Orderby” to “Name”, Order to “ASC”, “Items per page” to -1
    5. Click on “Posts” Tab
    6. Set “Post Type” to “Post”, “Post Status” to “Publish”, “Orderby” to “Title”, “Order” to “ASC”.
    7. Click on “Template” Tab. Use this there –

    <ul>
    [terms]
      <li><a href="[term_link]" class="my_cat_link" data-toggle="#cpl_[term_id]">[term_name]</a>
      <ol class="my_post_list" id="cpl_[term_id]">
      [posts]
        <li><a href="[post_permalink]">[post_title]</a></li>
      [/posts]
      </ol>
      </li>
    [/terms]
    </ul>

    8. Click on “Style” Tab. Use this there –

    (function($){
      $(document).ready(function(){
        $('.my_post_list').hide();
        $('a.my_cat_link').click(function(e){
          e.preventDefault();
          $( $(this).data('toggle') ).toggle();
          return false;
        });
      });
    })(jQuery);

    9. Save the list. Copy the Shortcode and use it on Page, Post or Widget Area.

    Thanks for using the plugin.

    Plugin Author Shazzad Hossain Khan

    (@sajib1223)

    That’s not possible without editing the plugin files. Perhaps, i would include a new shortcode which will be equivalent to WP Core the_date() function. Which does exactly the same thing you are looking for.

    Next update would be available on next Saturday.

    Thanks.

    Plugin Author Shazzad Hossain Khan

    (@sajib1223)

    Mail me a login details including what you are trying to achieve, and i will check the issue. sajib1223 at gmail.

    Plugin Author Shazzad Hossain Khan

    (@sajib1223)

    It should work, however there’s not much documentation to understand how it works. You might be missing something.

    Requirement 1: Display Posts Which have both “CAT1” & “CAT2” category assigned.

    Solution 1:
    Tax Query 1: Taxonomy=”Category” | Operator=”=” | Field=”Names” | Terms =”CAT1″
    Tax Query 2: Taxonomy=”Category” | Operator=”=” | Field=”Names” | Terms =”CAT2″
    Relation: “AND”

    Requirement 2: Display Posts Which have anyone “CAT1” or “CAT2” category assigned.

    Solution 2:
    Tax Query 1: Taxonomy=”Category” | Operator=”=” | Field=”Names” | Terms =”CAT1″
    Tax Query 2: Taxonomy=”Category” | Operator=”=” | Field=”Names” | Terms =”CAT2″
    Relation: “OR”

    Solution 2 (alternative):
    Tax Query 1: Taxonomy=”Category” | Operator=”IN” | Field=”Names” | Terms =”CAT1″, (click on +) on the new field, use “CAT2”
    Relation: “Anything”

    The shortcodes are displayed when there’s no result, however, we haven’t yet worked on it to display nothing if the query return zero items. But that will be solved.

    Hope this will helps.

    Plugin Author Shazzad Hossain Khan

    (@sajib1223)

    Good to know that you have found the issues.

    The scenario is something like –
    W4 Post List” is also a custom post type, and for that reason Schema.org display their “Configure Rich Snippets” Metabox on our plugin page too (which it shouldn’t be doing, as our post type is non-public). The Schema.org Plugin use “Media Uploader” (wp.media object) which they use to manipulate with the “Configure Rich Snippets” Metabox fields. But, our List doesn’t need “Media Uploader“, so we do not load the wp.media object. And this is where they trigger errors.

    However, i have found a workaround to bypass their error and make our option panel work smoothly. I will definitely update it on the next release.

    I have also mailed them about the bug, hope they update their plugin.

    Thank you very much.

    Plugin Author Shazzad Hossain Khan

    (@sajib1223)

    OK, This is a JavaScript error caused by some other plugin or your active theme.

    I guess the fastest solution would be to providing me an access to your site, and i will take a look myself. You will find my email right on the plugins “Documentation” page.

    If that’s not possible, below are some questions –
    On the site where “+ add” button not working, were you able to switch between the tabs (List Type, Terms, Posts) ? Does it have the latest version of our plugin ? Did you tried deactivating all other plugins and changing your theme to default ?

    Plugin Author Shazzad Hossain Khan

    (@sajib1223)

    I am flattered buddies. Really, your involvement is my inspiration. And i believe you guys understand that very well, as you are also doing development as i do or try to do ??

    Plugin Author Shazzad Hossain Khan

    (@sajib1223)

    That’s good news. Thanks for reporting the issue.

    Plugin Author Shazzad Hossain Khan

    (@sajib1223)

    We found the issue, and it was fixed on the latest version. Upgrading the plugin would solve the issue. Please consider an update and let me know if it already exists.

    And thank you so much for reporting the issue.

    Plugin Author Shazzad Hossain Khan

    (@sajib1223)

    Thanks for a stunning concept.

    Considering it, i have got an extended idea for incorporating with the current page query. What I’m thinking is not only the current post, but also include/exclude terms, authors, post meta and anything else that’s possible to compare. That way, you will be able to create a related posts list, posts by same author etc type list. I know that there’s already popular plugins for which does allow this, but i hope you already know the flexibility of designing with our plugin ??

    Do you think it would be a good idea to do so ?

    At present, I am working on allowing terms list creation. Once it’s done, the next thing would be what you have recommended ??

    Your recommendation’s are always welcome, and your review only once ??

    Plugin Author Shazzad Hossain Khan

    (@sajib1223)

    That would be great.

    Please use this form to send those – https://w4dev.com/contact

Viewing 15 replies - 301 through 315 (of 358 total)