Support » Plugins and Hacks » WTI Like Post » [Resolved] Exclude page IDs

[Resolved] Exclude page IDs

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author webtechideas


    It should work. You can also remove the spaces in between like the values should be given as 220,221. Are you sure you are putting this value against the field saying “Exclude post/page IDs”? Also how you are getting the page IDs?

    To get IDs pages I go into the WordPress admin panel then I go to Menu.
    Then I hover over the page that I want to know the ID of.
    So I see the ID in the status bar on the bottom of the browser.

    Is it correct?

    If it is correct, the plugin in my case doesn’t work.

    Any idea? Thanks.

    Plugin Author webtechideas


    Can you better pick up the page ids from Admin >> Pages listing screen by hovering over the Page names? If it still does not work, then I would like to get the following things from you.

    – the version of the WTI Like Post plugin you are using whether its the lite 1.4 version or the PRO one.
    – screenshot of the WTI Like Post admin settings page where you have entered the page IDs to be excluded.
    – your site url. Also can you please use default permalinks settings so that I can confirm the page IDs on your site.


    I solved with your help.
    The IDs from Menu panel are different from those of Pages list (sorry, but WP is new for me).

    Now the plugin works.
    Thanks for all. Piero

    I want to exclude your like posts(thumps up/down) from a Q/A plugin, how can i do this? if i add that question id fro excluding it will work, but i nee dmore generic way to solve this problem,if i post any questions from this plugin your like buttons are coming, how can i remove your like buttons posts under the questions category?

    I found that each question rendering through the qa/default-templates/single-question.php,I have added the below code in that page but it is not working, still it showing the like post buttons. Any other methodes to removethe like post buttons from each questions post.

    add_filter('the_excerpt', 'removeWtiContent');
    function removeWtiContent($content)
        global $post;
        if ($post->post_type == 'your_post_type') {
            remove_filter('the_content', 'PutWtiLikePost');
        return $content;

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    Plugin Author webtechideas


    You need to put the code inside functions.php file of your active theme. By post type, I mean the custom post type that you are using for questions.

    You must have installed a theme or plugin to create this functionality. So you need to use that post type in the condition as I had mentioned.


Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Exclude page IDs’ is closed to new replies.
Skip to toolbar