Skip to content
DDGPRESS
  • Home
  • About Us
  • Contact Us

Code to call image from images directory

Some useful scripts, codes and hooks of wordpress

July 26, 2019January 29, 2018 by DDGPress
useful scripts, codes and hooks of wordpress

There are some important useful Scripts, Codes and hooks of WordPress that can be easily used for wordpress theme customization. Today we will be discuss on these useful WordPress’s scripts, Codes and hooks.

1) Code for Logo So that you can direct visit on homepage:

<a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a>

2) Code to call image from images directory using php:

<img border="none" class="icon" src="<?php bloginfo('template_directory'); ?>/images/image-name.png" />

3) Code to include other php files:

<?php include (TEMPLATEPATH . 
Continue Reading ...
Categories Wordpress Tags Code for Logo, Code to call image from images directory 6 Comments

Accept Donations

Popular Posts

  • connect your domain name with web hosting
    How to connect your domain name with web hosting in Godaddy?
  • Scroll to top of the page issue on Gravity form submission
    Scroll to top of the page issue on Gravity form submission
  • Increase File Upload Limits
    How to Increase File Upload Limits On Godaddy Hosting
  • Woocommerce Shortcodes
    WooCommerce Shortcodes
  • fix woocommerce thumbnail gallery error
    How to fix woocommerce thumbnail gallery and zoom magnifier after updating woocommerce plugin?
  • Convert HTML to WordPress theme
    Convert HTML to WordPress theme
  • woocommerce compitable theme
    How to fix structure breaking issue in WooCommerce compatible theme?
  • best seo tips 2018
    Best SEO tips 2018 to get higher search ranking on google
  • Affiliate Marketing
    What is affiliate marketing and how does it work – Razia Bano
  • Blank Thumbnails issue
    How to fix blank thumbnails issue in the WordPress Media Library

Recent Posts

  • Unraveling the Mystery: The Ultimate Guide to Backing Up Your WordPress Site
  • How to Add New Users and Authors to Your WordPress Website?
  • How to Add Keywords and Meta Descriptions in WordPress Site?
  • How to connect your domain name with web hosting in Godaddy?
  • WordPress SEO Tips to Boost your Website Ranking
  • What is affiliate marketing and how does it work – Razia Bano
  • How to Install a WordPress Theme?
  • How to Uninstall and Delete a WordPress Theme?
  • How to Fix ERR_TOO_MANY_REDIRECTS Issue in WordPress?
  • Check Your Site is Indexed by Search Engines

Archives

  • July 2023
  • August 2021
  • January 2021
  • September 2020
  • April 2020
  • March 2020
  • February 2020
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • April 2019
  • February 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • April 2017

Categories

  • Magento
  • Marketing
  • SEO
  • Web Design
  • Woocommerce
  • Wordpress

quality replica watches

  • About Us
  • Contact Us
  • Privacy Policy
© 2025 DDGPRESS • Built with GeneratePress