Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
/* Remove Social Share Button for Specific Post */ function remove_social_share_for_spesific_post() { if ( is_single() ) { $slug_post = get_post_field( 'post_name', get_the_ID() ); $list_post = array( 'the-legend-of-zelda-breath-of-the-wild-gameplay-on-the-nintendo-switch', 'slug-2', 'slug-3' ); /* By Post Slug */ if ( in_array( $slug_post, $list_post ) ) { remove_all_actions( 'jnews_share_top_bar' ); /* Top Position */ remove_all_actions( 'jnews_share_float_bar' ); /* Float Position */ remove_all_actions( 'jnews_share_bottom_bar' ); /* Bottom Position */ } } } add_action( 'wp', 'remove_social_share_for_spesific_post' );
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)