Getting started:
Related tutorials:
- MySQL-CLI: https://www.youtube.com/playlist?list=PLfdtiltiRHWEw4-kRrh1ZZy_3OcQxTn7P
- Analyzing Business Metrics: https://www.codecademy.com/learn/sql-analyzing-business-metrics
Getting started:
Related tutorials:
function fb_change_search_url_rewrite() { | |
if ( is_search() && ! empty( $_GET['s'] ) ) { | |
$keywords = get_query_var( 's' ); | |
list($first_word) = explode(' ', trim($keywords)); | |
wp_redirect( home_url( $first_word ) . urlencode( $keywords ) ); | |
exit(); | |
} | |
} | |
add_action( 'template_redirect', 'fb_change_search_url_rewrite' ); |
{% api %}{% image %} | |
{% for index, item in api%} | |
{% for imageindex, image in images %} | |
{% if index < 5 %} | |
{% if index == imageindex %} | |
<div class="entry clearfix"> | |
<a href="{{ item.link }}" rel="nofollow" title="{{ item.title }}"><img src="{{ image.mediaurl }}" alt="{{ image.title }}"></a> | |
<h2 class="post-title"><a rel="nofollow" href="{{ item.link }}" title="{{ item.title }}">{{ item.title }}</a></h2> |
{% video %} | |
{% for index, v in videos %} | |
<iframe class="youtube-player" type="text/html" width="560" height="315" src="http://www.youtube.com/embed/{{ v.link | get_video_id }}" frameborder="0"> | |
</iframe> | |
<p><img src="http://img.youtube.com/vi/{{ v.link | get_video_id }}/hqdefault.jpg" align="left"/>{{ v.title }}. | |
<br> | |
<strong>Download {{ v.title }}</strong> | |
<a href="http://keepvid.com/?url={{ v.link }}">MP4</a> | | |
<a href="http://keepvid.com/?url={{ v.link }}">FLV</a> | | |
<a href="http://keepvid.com/?url={{ v.link }}">3GP</a> | |
<?php | |
Route::get('seed', function(){ | |
Artisan::call('db:seed'); | |
}); |
App::missing(function($exception) | |
{ | |
return Redirect::to('/'); | |
}); |
DELETE * FROM `images` where local_url = ''; |
<?php | |
if(is_search()){ | |
echo spp(get_search_query(), 'metadesc.html') | |
} | |
?> |
<?php | |
// taruh ini dalam the loop | |
// post id adalah id post yang akan di exclude | |
if($post->ID != 5 && $post->ID != 10){ | |
echo spp(single_post_title(), 'template.html'); | |
} | |
?> |