• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

Wordpress how to get the post thumbnail inside a figure tag

phpwordpresswordpress-themingthumbnailscustom-wordpress-pages


PHP Snippet 1:

<figure class="post_thumbnail">
    <?php if(has_post_thumbnail()) { echo the_post_thumbnail('full'); }; ?>
</figure>

Related Snippets

Add a text next to stock quantity if it is less than 10 in Woocommerce single product

WooCommerce - unset "<product> removed notice…" on cart page

GRPC installed successfully on ubuntu but php is looking for it in another folder

how to identify the web server name of remote host

selected value from the listbox in php

Alert message after submitting form in PHP

Lexik JWT authentication problem "Invalid credentials"

Wordpress 'post_type_link' hides permalink

PHP | "The requested PHP extension bcmath is missing from your system."

Required field only if another field has a value, must be empty otherwise

Display the WooCommerce product price inside a custom function

Edit product hook WooCommerce

how to loop through json response data using ajax jquery?

Must be of the type array, null given,

PHP: set a (deep) array key from an array [closed]

About Contact Privacy policy Terms and conditions