This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* You can place this script in your theme’s functions.php file or in a custom plugin to execute the process. After running, you may want to remove it to avoid duplicating the posts again accidentally. | |
*/ | |
function copy_abcbizrev_reviews_to_revix_reviews() { | |
// Get all posts of the custom post type 'abcbizrev_reviews' | |
$args = array( | |
'post_type' => 'abcbizrev_reviews', | |
'posts_per_page' => -1, // Get all posts | |
'post_status' => 'any', // Include all post statuses |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
#Method 01 | |
//Shortcode for current year | |
function cb_current_year() { | |
$year = date('Y'); | |
return $year; | |
} | |
add_shortcode('cb_current_year', 'cb_current_year'); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace cbedu\inc\RepeaterCF; | |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly | |
class CBEDURepeaterCustomFields | |
{ | |
public function __construct() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// JavaScript to prevent form submission with Enter key | |
document.getElementById('suprd_search_form_area').addEventListener('keydown', function(e) { | |
if (e.key === 'Enter') { | |
e.preventDefault(); | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// add color control for tab tringle | |
add_action('elementor/element/before_section_end', function( $section, $section_id, $args ) { | |
if( $section->get_name() == 'nested-tabs' && $section_id == 'section_tabs_style' ){ | |
$section->add_control( | |
'abc-tab-tringle-color' , | |
[ | |
'label' => 'Traingle Color', | |
'type' => Elementor\Controls_Manager::COLOR, | |
'selectors' => [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RAR registration data | |
WinRAR | |
Unlimited Company License | |
UID=4b914fb772c8376bf571 | |
6412212250f5711ad072cf351cfa39e2851192daf8a362681bbb1d | |
cd48da1d14d995f0bbf960fce6cb5ffde62890079861be57638717 | |
7131ced835ed65cc743d9777f2ea71a8e32c7e593cf66794343565 | |
b41bcf56929486b8bcdac33d50ecf773996052598f1f556defffbd | |
982fbe71e93df6b6346c37a3890f3c7edc65d7f5455470d13d1190 | |
6e6fb824bcf25f155547b5fc41901ad58c0992f570be1cf5608ba9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
You must need to call Font awesome CSS for load icon | |
*/ | |
.ginput_container.ginput_container_radio .gfield_radio {display: flex;} | |
.ginput_container.ginput_container_radio .gfield_radio .gchoice label{cursor:pointer;} | |
.ginput_container.ginput_container_radio .legend_selected_stars.gchoice label:before{color:#316A85 !important;} | |
.ginput_container.ginput_container_radio .gchoice input { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function($){ | |
$( document ).ready(function() { | |
var mylist = $('#allstate-ul-list ul'); // input your selector | |
var listitems = mylist.children('li').get(); | |
listitems.sort(function(a, b) { | |
return $(a).text().toUpperCase().localeCompare($(b).text().toUpperCase()); | |
}); | |
mylist.empty().append(listitems); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* custom_woocommerce_template_loop_add_to_cart | |
*/ | |
add_filter( 'woocommerce_product_add_to_cart_text' , 'custom_woocommerce_product_add_to_cart_text' ); | |
function custom_woocommerce_product_add_to_cart_text() { | |
global $product; | |
$url = 'http://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']; | |
$text = "View Product"; |
NewerOlder