Support » Plugin: Page Cornr » [Plugin: Page Cornr] Need to apply to only one WP page

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author lucianohpcv

    (@lucianohpcv)

    SORRY! I really don’t visit this page. For future support, please send me an email hola AT luxiano DOT name.

    Replace add_action('wp_head', 'pagecornr'); at the end of pagecornr.php with

    function pagecornr_with_id(){
    		if(is_page(11)) {
    			pagecornr();
    		}
    	}
    
    add_action('wp_footer', 'pagecornr_with_id');

    Where 11 in is_page(11) is the page ID. If need it in a specific post (NO page), change is_page(11) to is_single(99), where 99 is the ID for your post.

    Thank you so much for replying to my question.

    I will give it a try and let you know how it works.

    Much appreciated.

    Plugin Author lucianohpcv

    (@lucianohpcv)

    Oh, SO SORRY, I make a mistake :S

    I meant: replace add_action('wp_footer', 'pagecornr');

    Sorry :S

    No problems, I noticed that and it’s exactly what I did and it’s working just fine.

    Many thanks for your help.

    elmalak

    One more thing if you don’t mind;

    I wanted to know how can I increase or decrease the peel effect, do I need to edit the php file or the css file ?

    Many thanks,
    elmalak

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Page Cornr] Need to apply to only one WP page’ is closed to new replies.