Posts

Cara convert HTML ke Javascript document.write otomatis

Image
Bagaimana cara convert HTML ke Javascript document.write secara otomatis Biasanya orang yang membuat website atau blog yang menggunakan fitur javascript biasanya bingung dalam membuat LIKE BOX maupun SOCIAL SHARE BOX untuk website nya. Agar tombol like atau share dapat tepat merujuk like atau share terhadap artikel yang dikunjungi visitor. Nah berikut cara nya: 1. Masuk ke website berikut ini : HTML to Javascript Converter 2. Copy Kode HTML yang anda ingin terapkan dalam penerjemahan javascript. Kemudian paste Kode HTML tersebut ke dalam box yang sudah di sediakan. Kemudian klik Convert to javascript syntax . Selesai. HTML anda sudah siap untuk di terapkan di javascript untuk di print secara dinamis.

Get first post WORDPRESS tutorial

Edit your functions.php of your themes. This also work on amp plugin (wp AMP ninja) -> Edit on functions.php too. Codes 1: <?php /* These functions are great for WordPress sites with posts and media that have been imported. Some images are featured images, some in the content itself, and of the content images, some are internal, others external. These images are grabbed to use at the correct size for archive/homepage thumbnails*/ 1) Look for featured image, show if present 2) Otherwise look for the first image in the content (whether internal or external) 3) Check for an attachment ID, if present, show image at correct dimensions 4) Otherwise show image at normal URL $size = post thumbnail / custom image sizes $url = return a URL or full image tag */ /*Find the image id from a URL*/ function url_get_image_id($image_url) { global $wpdb; $attachment = $wpdb->get_col($wpdb->prepare("SELECT ID FROM $wpdb->posts WHERE guid='%s';

SEE THE BLOG POSITION IN SEARCH ENGINE

Image
There is one of the bloggers on the comments asking about how to blog can search on google. Virtually every we post a new article or we update Google has a direct index of our posts. There may be some need to wait a few hours, but usually no more than 24 hours. Furthermore, how we can see the position of our posts on the blog or search engine owned by Google. If the position is under a hundred may not be a problem to find. But the problem of how if it is above one hundred and even several hundred, of course we are a little difficult to find it. Here there is a service that may be my friend try. We can use this service to find out the position keberapa key words that we use on the blog. Usually the first time Google will index the keywords in the title of the article that we make, so we have to utilize well in making titles. In this layanana friend just enter the blog address and keywords friend use. To start taking advantage of these services friend can go to: http://www.seo