Category: Snippet

Import image to WP and set as Featured Image 0

Import image to WP and set as Featured Image

this code is for import image to WordPress Media then set as Featured Image in Post

 

How to get WordPress attachment caption, title, alt, and description 0

How to get WordPress attachment caption, title, alt, and description

this si simple function to get all wordpress attachment text

 

How to get parameter querystring value from URL with javascript 0

How to get parameter querystring value from URL with javascript

snippet to get querystring value from url with javascript:

how to use :

 

Create Loop Row with Colum bootstrap – PHP 0

Create Loop Row with Colum bootstrap – PHP

Snippet loop row & column bootstrap

 

How to add adsense before and after the_content() 0

How to add adsense before and after the_content()

konsep pada snippet kali ini adalah kita ingin melakukan hook filter pada fungsi the_content() untuk menampilkan adsense sebelum dan sesudah the_content() / area konten utama. berikut snippet yang bisa di gunakan:

snippet di...

0

how to display all child page by parent ID in WordPress

di wordpress kita mengenal beberapa post_type default, yaitu post, pages, media, & menus. setiap post_type ini mempunyai jenis yang berbeda/ kegunaan khusus. pages adalah satu-satunya post_type default yang mempunyai feature page attribute. dengan fitur...