Site Name, URL, Link, Logo

// Site name add_shortcode(‘site_name’, function () { return get_bloginfo(‘name’); }); // Home URL (front-end URL) add_shortcode(‘site_url’, function () { return esc_url(home_url(‘/’)); }); // Clickable site link: [site_link text=”My Site”] add_shortcode(‘site_link’, function ($atts) { $a = shortcode_atts([‘text’ => get_bloginfo(‘name’)], $atts); return…Continue reading

ACF Display Frontend (Opt Fields)

// Shortcode function to display ACF field from options function display_acf_option_shortcode($atts) { // Parse attributes with defaults $atts = shortcode_atts(array( ‘field’ => ”, // Default field (leave empty or set fallback) ), $atts); // Check if field is provided if…Continue reading

Scroll to Top

.fl-post-title {display:none;} /* Scroll to Top Settings */ #toTop { display: none; position: fixed; bottom: 5px; right: 10px; width: 80px; height: 80px; opacity: 0.8; filter: alpha(opacity=40); /* For IE8 and earlier */ } #toTop:after { content: “\f343”; font-family: dashicons; color:…Continue reading