• Resolved artdirectories2020

    (@artdirectories2020)


    Hi.
    I want to signal two bugs related to ajax:

    1. Filter bar: a click on anay category in the filter bar changes the layout of the grid. In my example: the position of the meta has change from bottom to top, the fields of the meta is different, category is displayed,…

    2. Pagination: I have filtered get_comments_number with add_filter( ‘get_comments_number’, ‘hijacked_comments_to_cat’, 999). My filter is called upon the initial launch of the page. When I hit a filter or a page number, my filter is no longer called. How to make my filter mandatory?

    Also, I have 2 feature requests:
    3. Is it possible to add category to the meta fields? Please! Right now, I’m hijacking the “comments” field to display it.
    4. Regarding the pagination, is it possible to highlight the number of the page currently displayed?

    Thank you!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author WPXPO

    (@wpxpo)

    Hello @artdirectories2020,

    Are you using our current version of the plugins?

    Problem 1:
    We have this problem in the past but not now. We already fix this problem.

    Problem 2:
    get_comments_number filter is working well in my localhost i already check in my host.

    Problem 3:
    In our case category inside meta is risky. Because sometimes posts have many categories and it breaks the design. However, we think about your suggestion

    Problem 4:
    We already fix this issue. Which version are you use?

    Clear the cache and then check. If this problem exists then email in “[email protected]

    Thanks.

    Thread Starter artdirectories2020

    (@artdirectories2020)

    Oh. Thank you for your answer. I’m using plugin version 1.1.5 and Theme TwentySeventeen 2.3 on wordpress 5.3.2.
    Can you please have a look on this page? All the issues are in action here. https://staging.mbamba.fr/digressions-masonry/
    Thank you?

    Plugin Author WPXPO

    (@wpxpo)

    We need further discussion about it, can you please give me your email address. I will try to solve this problem as soon as possible.

    Our email “[email protected]

    Thanks.

    Thread Starter artdirectories2020

    (@artdirectories2020)

    Hi there. I updated yesterday to version 1.1.6 of the plugin. Thank you for the improvements.
    # Issue 1 : is cleared now.
    # Issue 2 : the problem is still there. Please see it in action here: https://staging.mbamba.fr/digressions-masonry/
    Just to clarify the issue: I wrote a function to change the content of a meta field (the Number of comments). The function is using add_filter( ‘get_comments_number’, ‘hijacked_comments_to_cat’, 999) and the function replaces the comments number by the 1st category of the post . This modifier is working well at the initial launch of the page. When I hit a filter or a page number, the modifier is no longer called. It looks like an ajax issue. Can you help?

    # Feature Request 3: Having the category as a meta. You said

    In our case category inside meta is risky. Because sometimes posts have many categories and it breaks the design. However, we think about your suggestion

    How about displaying only the 1st category?

    		$categories = get_the_category($the_id);
    		$number= $categories[0]->cat_name;

    # Feature Request 4: In the pagination bar, highlight the current page. I think there is a problem when the user changes the colors of the pages in the block configuration. The user can change the default style and the hover style of the page number. But the “active” style is not in the editor. That’s probably what got me into trouble. As a workaround, I use manual CSS rules on .ultp-pagination li.pagination-active a to match my colors.

    Thank you for the hard work. Your plugin has a great potential.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Issues with ajax refresh’ is closed to new replies.