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

    (@luciole135)

    Hi,
    At present, the widget works with a SQL query without using the WP_query function.
    If the widget used WP_query, he could not exclude post_type with much simplicity and performance.

    But for categories, the problem is reversed. The WordPress WP_query function is more suitable although less efficient.

    Thus, it is difficult to make a SQL query that excludes categories because these are defined on the joints of 3 data tables:
    – wp_term_relationships
    – wp_term_taxonomy
    – wp_posts

    I will study the problem, but it will be very long.

    Thread Starter mepmepmep

    (@mepmepmep)

    Yes, ok. I understand!

    Plugin Author luciole135

    (@luciole135)

    Hi,
    The new version 1.7 allow to select the categories and the latest articles published to be displayed or to be excluded.

    Thread Starter mepmepmep

    (@mepmepmep)

    Great, thanks a lot. This is useful for me because I have a category on my site that I dont want to display on the front page. Thanks again. ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Exclude category’ is closed to new replies.