This file contains hidden or 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 | |
/** | |
* Set global variable to track posts. | |
*/ | |
function no_repeat_init() { | |
global $testimonials_showing; | |
$testimonials_showing = array(); | |
} | |
add_action( 'wp', 'no_repeat_init' ); |
This file contains hidden or 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
post_type | post_status | post_title | post_content | client_name | tax_wpm-testimonial-category | ||
---|---|---|---|---|---|---|---|
wpm-testimonial | publish | The testimonial title | The testimonial content | The person's name | The person's email | Apple, Banana |
This file contains hidden or 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
post_type | post_status | post_title | post_content | client_name | ||
---|---|---|---|---|---|---|
wpm-testimonial | publish | The testimonial title | The testimonial content | The person's name | The person's email |
This file contains hidden or 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 | |
/** | |
* Strong Testimonials | Bad review redirect. | |
* | |
* IMPORTANT! If adding this to your theme's functions.php, remove line 1: <?php | |
* | |
* For help, contact [email protected] | |
* | |
* @param $location | |
* @param $status |
This file contains hidden or 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
/* ======================== | |
* Lucid Theme improvements | |
* ======================== | |
*/ | |
/* --------------------- | |
* if using Divi Builder | |
* --------------------- | |
*/ |
This file contains hidden or 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 | |
//* Do NOT include the opening php tag | |
//* Load custom style sheet | |
add_action( 'wp_enqueue_scripts', 'custom_load_custom_style_sheet' ); | |
function custom_load_custom_style_sheet() { | |
wp_enqueue_style( 'custom-stylesheet', CHILD_URL . '/custom.css', array(), PARENT_THEME_VERSION ); | |
} | |
//* Replace default style sheet |
This file contains hidden or 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 | |
/** | |
* Strong Testimonials - Single testimonial content | |
* | |
* For Spacious theme by ThemeGrill | |
*/ | |
?> | |
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> | |
<?php do_action( 'spacious_before_post_content' ); ?> |
This file contains hidden or 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 | |
/** | |
* Strong Testimonials - Single post section | |
* | |
* For Spacious theme by ThemeGrill | |
*/ | |
?> | |
<?php get_header(); ?> |
This file contains hidden or 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
/* | |
Document : sc_our_services_admin | |
Created on : Jun 25, 2014, 10:07:44 PM | |
Author : Bilal | |
Description: | |
Purpose of the stylesheet follows. | |
*/ | |
root { | |
display: block; |
This file contains hidden or 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 a link to the Plugins menu to show active plugins. | |
* | |
* Add this, without the <?php line above, to your (child) theme's functions.php. | |
* If using Admin Menu Editor plugin, you will need to reposition link manually. | |
*/ | |
function my_ui_plugins_active() { | |
global $submenu; | |
$submenu['plugins.php'][6] = array( __( 'Active Plugins' ), 'activate_plugins', 'plugins.php?plugin_status=active' ); |
NewerOlder