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
#input_18_74, #input_18_69{ | |
border: none !important; | |
margin: 0 0 0.2em !important; | |
padding-left: 0 !important; | |
} | |
#field_18_74 .ginput_container, #field_18_69 .ginput_container{ | |
padding-left: 0 !important; | |
} |
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
/** | |
* Pagination function | |
* | |
* @param int $max_num_pages | |
*/ | |
function my_pagination( $max_num_pages = 0 ) { | |
// get total number of pages | |
global $wp_query; | |
$max_num_pages = ( $max_num_pages > 0 ) ? $max_num_pages : $wp_query->max_num_pages; |
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
// set error message | |
$cpt_onomies_add_tag_error_message = cpt_onomies_admin_post_L10n.term_does_not_exist.replace( /term/g, $taxonomy ) + ' <a href="post-new.php?post_type=' + $taxonomy + '" target="_blank">' + cpt_onomies_admin_post_L10n.add_a_term.replace( 'term', ' new ' + $taxonomy ) + '</a>'; |
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
/** | |
* Production, Staging, Live | |
*/ | |
define( 'OXO_LOCAL_A', '/wordpress/' ); | |
define( 'OXO_STAGE', 'some-stage.domain.com' ); | |
if ( substr($_SERVER['REQUEST_URI'], 0, 11) == OXO_LOCAL_A ) | |
{ | |
// DB | |
define( 'DB_NAME', 'wordpress' ); |