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
1. Theme Structure | |
- style file | |
style.css | |
- header section | |
header.php | |
- main section | |
index.php |
/////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////
- https://webgradients.com/ - WebGradients is a free collection of 180 linear gradients
- https://meshgradient.com/ - Mesh is a simple way to create beautiful, unique gradients using shaders
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
<label for="inputCiudadLine2" class="control-label">Ciudad</label> | |
<select class="form-control" id="inputCiudadLine2"> | |
<option value="">-</option> | |
<option value="Arauca">Arauca</option> | |
<option value="Armenia">Armenia</option> | |
<option value="Barranquilla">Barranquilla</option> | |
<option value="Bogotá">Bogotá</option> | |
<option value="Bucaramanga">Bucaramanga</option> | |
<option value="Cali">Cali</option> | |
<option value="Cartagena">Cartagena</option> |
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 | |
//enable upload for webp image files. | |
function webp_upload_mimes($existing_mimes) { | |
$existing_mimes['webp'] = 'image/webp'; | |
return $existing_mimes; | |
} | |
add_filter('mime_types', 'webp_upload_mimes'); | |
// functions.php | |
//enable preview / thumbnail for webp image files. |
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
72.11.157.81 | |
3.231.228.54 | |
185.81.157.240 | |
82.165.119.24 | |
185.212.148.112 | |
91.132.138.77 | |
213.232.87.172 | |
212.227.164.225 | |
37.49.230.213 | |
188.166.208.203 |
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 | |
// functions.php | |
function custom_archive_title($title) { | |
if (is_category()) { | |
$title = 'Category: ' . single_cat_title('', false); | |
} elseif (is_tag()) { | |
$title = 'Tag: ' . single_tag_title('', false); | |
} elseif (is_author()) { | |
$author = get_queried_object(); | |
$title = 'Author: ' . $author->display_name; |
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 | |
/* Recent Post | image */ | |
function show_related_posts($atts) { | |
$atts = shortcode_atts(array( | |
'post_id' => get_option('page_on_front'), | |
), $atts); | |
$related_post_ids = get_field('recent_post', $atts['post_id']); | |
if ($related_post_ids) { |
NewerOlder