Ghufron Asadly. Diberdayakan oleh Blogger.
Tampilkan postingan dengan label wordpress. Tampilkan semua postingan
Tampilkan postingan dengan label wordpress. Tampilkan semua postingan

Mematikan emoji pada wordpress

Rabu, 01 Februari 2017

caranya dalah ditemplate cari function.php dan tambahkan kode dibawah ini

// REMOVE WP EMOJI
remove_action('wp_head', 'print_emoji_detection_script', 7);
remove_action('wp_print_styles', 'print_emoji_styles');

remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
remove_action( 'admin_print_styles', 'print_emoji_styles' );

Query Pada Wordpress

Selasa, 22 November 2016

SELECT
wp_posts.ID,
wp_posts.post_author,
wp_posts.post_date,
wp_posts.post_date_gmt,
wp_posts.post_content,
wp_posts.post_title,
wp_posts.post_excerpt,
wp_posts.post_status,
wp_posts.comment_status,
wp_posts.ping_status,
wp_posts.post_password,
wp_posts.post_name,
wp_posts.to_ping,
wp_posts.pinged,
wp_posts.post_modified,
wp_posts.post_modified_gmt,
wp_posts.post_content_filtered,
wp_posts.post_parent,
wp_posts.guid,
wp_posts.menu_order,
wp_posts.post_type,
wp_posts.post_mime_type,
wp_posts.comment_count,
event_yys.nama
FROM
wp_posts
left JOIN event_yys ON wp_posts.ID = event_yys.ID_RELASI
WHERE post_status = 'publish' and wp_posts.ID in (select object_id from wp_term_relationships where term_taxonomy_id in (SELECT term_taxonomy_id FROM wp_term_taxonomy where taxonomy='category' and term_id in(SELECT term_id FROM wp_terms where `name` in ('news'))))
 

Most Reading