Hi @charan1919
The plugin doesn’t have the functionality built-in at present. However, you can apply a somehow similar approach to attend the same as shown in this link:
https://wordpress.org/support/topic/how-do-i-exclude-some-pages-from-link-copy/#post-11733088
If you’re not comfortable with code customization, do let me know.
Hi @amitaits
Thanks for the Reply.
I don’t know PHP.so, can you help me where can i place the code code and where can i mention the page id’s to hide.
Hello @charan1919
Replace the line
if ( is_single() || is_page() ) {
with this one below:
if ( ( is_single() || is_page() ) && !in_array( get_the_ID(), array( 4, 50, 97, 201 ) ) ) {
inside the function ft_posts_visited() at line #230.
Here 4, 50, 97, etc. are IDs of pages you want to hide. You need replacing them.
Additionally, you also need to clear the cookie, you can do it by opening the page in private window.
Do let me know.
When I use this code i got an error message in the website
Your Code : if ( ( is_single() || is_page() ) && !in_array( get_the_ID(), array( 4, 50, 97, 201 ) ) ) {
inside the function ft_posts_visited() at line #230.
Code which is using is if ( ( is_single() || is_page() ) && !in_array( get_the_ID(), array( 3089, 3022, 3021, 156, 238 ) ) ) {
after using the about code i got an error message as Your Site Experience Technical Difficulties.
Hi,
Can you take a screenshot of what you have replaced and share a link?