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
/* To remove social network link fields */ | |
add_filter( 'tshowcase_social_networks', 'tshowcase_custom_social', 99 ); | |
function tshowcase_custom_social( $social ) { | |
//add the entries you want to delete here | |
$remove = array( 'yelp', 'imdb', 'youtube' ); | |
foreach ( $social as $key => $value ) { | |
if ( count( array_intersect( $remove, $value ) ) ) { | |
unset( $social[ $key ] ); | |
} |
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
AF | Afeganistão | # | #deebf7; | ||
---|---|---|---|---|---|
AX | ilhas Åland | # | #deebf7; | ||
AL | Albânia | # | #deebf7; | ||
DZ | Argélia | # | #deebf7; | ||
AS | Samoa Americana | # | #deebf7; | ||
AD | Andorra | # | #deebf7; | ||
AO | Angola | # | #deebf7; | ||
AI | Anguilla | # | #deebf7; | ||
AQ | Antártica | # | #deebf7; | ||
AG | Antígua e Barbuda | # | #deebf7; |
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
//Replace question-1 with the number of your question | |
jQuery(document).ready(function(){ | |
var select = jQuery('<select id="question-1-select"><option value="">Please Select</option></select>').on('change',function(){ | |
var val = jQuery(this).val(); | |
jQuery('ul[data-question-id="question-1"] input[data-value="'+val+'"]').click(); | |
}); | |
jQuery('ul[data-question-id="question-1"]').hide().after(select); |
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
jQuery('.advq_button').on('click', function() { | |
setTimeout(function() { | |
window.location.href = 'https://www.envato.com'; | |
}, 4000); | |
}); |
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
group:DZ|EG|EH|LY|MA|SD|SS|TN|BF|BJ|CI|CV|GH|GM|GN|GW|LR|ML|MR|NE|NG|SH|SL|SN|TG|AO|CD|ZR|CF|CG|CM|GA|GQ|ST|TD|BI|DJ|ER|ET|KE|KM|MG|MU|MW|MZ|RE|RW|SC|SO|TZ|UG|YT|ZM|ZW|BW|LS|NA|SZ|ZA|GG|JE|AX|DK|EE|FI|FO|GB|IE|IM|IS|LT|LV|NO|SE|SJ|AT|BE|CH|DE|DD|FR|FX|LI|LU|MC|NL|BG|BY|CZ|HU|MD|PL|RO|RU|SU|SK|UA|AD|AL|BA|ES|GI|GR|HR|IT|ME|MK|MT|CS|RS|PT|SI|SM|VA|YU|BM|CA|GL|PM|US|AG|AI|AN|AW|BB|BL|BS|CU|DM|DO|GD|GP|HT|JM|KN|KY|LC|MF|MQ|MS|PR|TC | TT|VC|VG|VI|BZ|CR|GT|HN|MX|NI|PA|SV|AR|BO|BR|CL|CO|EC|FK|GF|GY|PE|PY|SR|UY|VE|TM|TJ|KG|KZ|UZ|CN|HK|JP|KP|KR|MN|MO|TW|AF|BD|BT|IN|IR|LK|MV|NP|PK|BN|ID|KH|LA|MM|BU|MY|PH|SG|TH|TL|TP|VN|AE|AM|AZ|BH|CY|GE|IL|IQ|JO|KW|LB|OM|PS|QA|SA|NT|SY|TR|YE|YD|AU|NF|NZ|FJ|NC|PG|SB|VU|FM|GU|KI|MH|MP|NR|PW|AS|CK|NU|PF|PN|TK|TO|TV|WF|WS |
---|
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
PE-LMA | Municipalidad Metropolitana de Lima | Lima llaqta suyu | Lima hatun llaqta | #6699CC; | |
---|---|---|---|---|---|
PE-AMA | Amazonas | Amarumayu | Amasunu | #6699CC; | |
PE-ANC | Ancash | Anqash | Ankashu | #6699CC; | |
PE-APU | Apurímac | Apurimaq | Apurimaq | #6699CC; | |
PE-ARE | Arequipa | Ariqipa | Arikipa | #6699CC; | |
PE-AYA | Ayacucho | Ayakuchu | Ayaquchu | #6699CC; | |
PE-CAJ | Cajamarca | Kashamarka | Qajamarka | #6699CC; | |
PE-CUS | Cusco (local variant is Cuzco) | Qusqu | Kusku | #6699CC; | |
PE-CAL | El Callao | Qallaw | Kallao | #6699CC; | |
PE-HUV | Huancavelica | Wankawillka | Wankawelika | #6699CC; |
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
jQuery(document) | |
.ready(function() { | |
ts_move_cell(".tshowcase-box-info"); | |
ts_move_cell(".tscontent"); | |
}) | |
.ajaxSuccess(function() { | |
ts_move_cell(".tshowcase-box-info"); | |
ts_move_cell(".tscontent"); | |
}); |
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
jQuery(document) | |
.ready(function() { | |
ts_fix_url(".tshowcase-box-info"); | |
ts_fix_url(".tscontent"); | |
}) | |
.ajaxSuccess(function() { | |
ts_fix_url(".tshowcase-box-info"); | |
ts_fix_url(".tscontent"); | |
}); |
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
jQuery("#tshowcase-smallicons-css").attr("disabled", "disabled"); |
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
jQuery(document).ready(function(){ | |
ts_live_search(); | |
}); | |
function ts_live_search() { |