• WordPress
  • PHP
  • Magento
  • Drupal
  • SEO
  • Photoshop

Web Source Blog

tutorials and code snippets

  • Expertise – Full Stack Developer
  • Contact Us
  • Privacy Policy
  • Hosting Services
    • DreamHost: A Complete Web Hosting Solution
    • DigitalOcean: A Gateway to Cloud Simplicity
Add menu item programmatically in WordPress 0

WordPress

July 24, 2011

How to check post has thumbnail or not?

You can check that post has thumbnail or not by using following conditions {code type=codetype} If(has_post_thumbnail()){ // some code here }else{ // else code here } [/php]

  • « Previous Page

Follow:

Loading

  • Recent Posts
  • Popular Posts
  • Tags
  • AI-prompt-engineering-bible-ebook

    Misc.

    AI Prompt Engineering Bible (7 Books in 1) – Master ChatGPT & Generative AI

  • CortexWaveTech.com

    Misc.

    How Digital Transformation Services Drive Business Growth

  • How to add an Addon Domain in Godaddy with Web Hosting Deluxe?

    Misc.

    How to Add an Addon Domain in GoDaddy with Web Hosting Deluxe

  • Developing a RESTful API with Node.js, Express.js, MongoDB, and TypeScript

    Misc.

    Developing a RESTful API with Node.js, Express.js, MongoDB, and TypeScript

  • xml-in-rest-apis-and-soap-apis

    Misc.

    XML in REST API response and SOAP XML.

  • Magento

    How to set table rates shipping method in magento?

  • Misc.

    How to remove index.php from CI URL?

  • List of CMS for blogs and websites

    Misc. / PHP

    List of CMS for blogs and websites

  • Drupal CMS

    Drupal

    How to create custom regions in drupal?

  • Magento

    How to get sku list that hasn’t product images in magento?

  • add in date aws aws amplify back url boolean field validation codeIgniter css drupal drupal 7 drupal views first date of last week git git commands howto howtolaravel how to laravel html jquery laravel laravel 5 laravel eloquent laravel migrations laravel request class last date of last week last month's last date last month first date magento magento 1.5 minus in date opencart php php date function pik prepareForValidation previous url python react reactjs replace function symfony symfony 1.2 symfony2 windows powershell wordpress wsl2

More

Select Your Language



Tags

add in date aws aws amplify back url boolean field validation codeIgniter css drupal drupal 7 drupal views first date of last week git git commands howto howtolaravel how to laravel html jquery laravel laravel 5 laravel eloquent laravel migrations laravel request class last date of last week last month's last date last month first date magento magento 1.5 minus in date opencart php php date function pik prepareForValidation previous url python react reactjs replace function symfony symfony 1.2 symfony2 windows powershell wordpress wsl2

Web Source Blog © 2025. All Rights Reserved.

We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.
You can revoke your consent any time using the Revoke consent button.