CCCPaste

2021-07-07_stats.json

{
"ip": {
"195.94.234.83": 115,
"134.209.100.3": 580,
"138.68.164.226": 282,

2021-07-06_stats.json

{
"ip": {
"138.68.164.226": 287,
"134.209.100.3": 814,
"185.202.1.81": 4,

Websocket Examples for BASH Shell Scripts

#install client and server
sudo apt install node-wscat websocketd

#server
#websocketd is a websocket server that sends the output of a command to the client when they connect

Show Meta Comment and Like Button in Mobile Display

/* Show Meta Comment and Like Button in Mobile Display */
.entry-header .jeg_meta_category, .entry-header .jeg_meta_comment, .entry-header .jeg_meta_like {
display: unset!important;
}

2021-07-05_stats.json

{
"ip": {
"195.94.234.83": 106,
"138.68.164.226": 284,
"2.226.178.63": 27,

Change Woocommerce Breadcrumb Home URL

/* Change Woocommerce Breadcrumb Home URL */
function change_woocommerce_breadcrumb_home_url( $url ) {
$url = 'https://your_url.com'; /* Change with your full URL */

return $url;

Fix top bar hover color issue || Custom Change

/* Fix top bar hover color issue */
.jnews-dark-mode .jeg_topbar .sub-menu .menu-item a:hover {
background-color: unset!important;
}

Change Comments Cookie Text

/* Change Comments Cookie Text */
function change_comment_cookie_text( $translated_text ) {
if ( comments_open() ) {
switch ($translated_text) {
case 'Save my name, email, and website in this browser for the next time I comment.':

Styling Top Bar Sub-Menu

/* For Sub Menu */
.jnews-dark-mode .jeg_topbar .sub-menu .menu-item {
/* Insert Code */
}

Use Excerpt for Subtitle

/* Use Excerpt for Subtitle */
function excerpt_to_subtitle( $subtitle ) {
if ( empty( $subtitle ) ) {
return the_excerpt();
}