bloginfo('template_url')
is the wrong function, you need home_url
:
<div class="subnavLinks">
<a href="https://wordpress.stackexchange.com/questions/104386/<?php echo home_url("/contact-us/get-a-quote'); ?>" class=""><img src="/uploads/quote.png" class=""></a>
Related Posts:
- How to include different html tags in the header for different pages?
- Changing 2011 theme header image based on user dropdown
- Add custom HTML to posts page
- Using PHP to toggle stylesheet and header image, set in cookie
- Change logo based on incoming domain
- How to scale image with equal width and height without distortion?
- Displaying theme options in css
- Echo URL of large version of Featured Image
- Get different images for mobile and desktop with php, advanced custom fields without using js and ajax
- add_image_size for header_image
- Selectbox in admin panel function linking to CSS
- Can I install/embed WordPress on a ‘single page’?
- Responsive Header for Phone
- Customize position of social icons in upme plugin [closed]
- “imagejpeg” function is not working in wordpress
- How do I add a custom css to all posts without affecting homepage css? [closed]
- Redirect to another page using contact form 7? [closed]
- Custom Background by Page IDs
- Assign Custom classes to every Excerpt
- CSS images don’t show up with bloginfo
- How to internationalize header image?
- Displaying images outside the content
- WP_REST_Response – How to return Gzip answer and add Content-encoding header?
- Create Columns with Custom Walker and CSS Classes
- I have a background-image in css file but don’t show in site.how to fix this prblm. i sent screenshot. thx
- Add my footer menu to the header
- custom field – changing an element or background of id div – different versions not working
- How do I routinely extract the thumbnail of the most recent post?
- My customizer’s setting doesn’t set to the default and needed to click the control’s “Default” button before it’ll be set
- Converting Menu Links to List Elements
- HTML in PHP problem [closed]
- How to remove the intro animation which appears during the load up of some WordPress themes? [closed]
- hello can you advise how to fix the error?
- Using Featured Image as Hero Background in Word Press
- HELP PLEASE PHP slider css
- Different background-image by category
- Styling images coming from another blog
- How to break down importing of feeds
- Style every second widget?
- Wrap First Character after in a tag
- Theme currently showing thumbnails, how to show full size?
- How to display post title & excerpt when mouse hovers on an image?
- Add a Different CSS Class Into The Body Tag of Different WP Pages
- php syntax – how to concatenate properly – echo bloginfo(‘stylesheet_directory)
- Validate Uploaded Image using WordPress’ Built-in Functions?
- wp nav menu: add attributes to menu items [duplicate]
- How to create and work with custom data / tables (i.e., for arbitrary data)?
- How do I implement a .diff changeset from core.trac.wordpress.org locally?
- Get most recent media upload
- WordPress override bloginfo variable
- PHP can I add line numbers to file_get_contents()
- How to get 2 or multiple custom post types in wordpress functions.php
- Put CSS inside a PHP file and include it the right way
- Shortcode content output but not in correct place
- IMG src weird behaviour inside a single post loop
- Convert all images to PNG on file upload
- Escape post image attachments added to template
- Multiple choice in a custom taxonomy
- An unwanted inline style is added to my body tag
- Auto crop images in WordPress
- Display post image with fancybox
- Show post in slider
- Creating bulk posts with Youtube videos
- Problem adding class to body_class
- How to get media objects
- PHP code to call image Caption, Alternative Text, and Decription?
- Add a custom stylesheet for BlackBerry
- Random Default Avatar Function
- How can I hide Home in my menu in a specific page?
- How do I let users upload files to a chosen location?
- Missing sidebar parameter “fix” – before_content
- Change the URL of an image from wp_get_attachment_image_src except in the frontpage
- How Display Posts on category
- Hide wordpress field if data is empty in post!
- How to get specific image in media library with php
- Change the site tagline (or similar) based on current page
- hover image appears below placeholder instead of overlayed
- Trouble creating conditional PHP for nav menu items with children for custom Walker
- Setting custom canonical urls
- Only show search results with if current date is between two dates?
- How to stop featured image thumbnail [set as background image] on blog index page just repeating same image across all posts
- database interactions using OOP
- Customizer: Output default value in Customizer CSS
- How to add just one specific page to widget without plugin?
- Remove one value in dismissed_wp_pointers?
- Slider loading issue
- create a select input with menus created on a custom options page
- Taxonomy linked to pages
- Conditional Header in wordpress
- Plugin CSS not enqueing
- Add custom url to featured image
- Hide Hamburger Menu On Specific Page (Front Page/Home Page)
- Parent theme CSS overriding child CSS rules
- Get image’s size name from it’s dimension
- Cannot display or echo alt text on featured image
- Create another “Display Site Title and Tagline” checkbox, “Header Text Color” setting and control
- how to remove metadata from the posts of my blog?
- Recent posts with featured image or fallback image with permalink
- Accessing data from a non-WP database/table within a page content
- WordPress blog post url on category page