As per the OP’s comment:
It is a PageLines theme issue since when I switch to TwentyTwelve I get the proper value for
HTTP_HOST
Related Posts:
- Restrict access if logged out except for homepage
- Missing feature image link function
- How to customize the_archive_title()?
- How to override parent functions in child themes?
- Get menu object from theme_location
- Displaying the number of updates available in the Admin area
- Trying to use add_action and do_action with parameters
- Define page template in wp_insert_post
- Safe to disable wptexturize?
- Get a list of all available fields in the User Profile
- How do I use the WP image functions in a page template?
- How to remove Customize from admin menu bar after WP 4.3
- Child theme functions.php do I use php open and close tags?
- why doesnt is_home() work in functions.php
- Insert Ad Code in the Middle of a Post
- Enabling shortcodes for custom fields
- Passing variables to templates (alternatives to globalizing variables)
- Load post with a different template?
- Add options to featured image
- WordPress Change Post Templates,but not drop down, but Image selection
- Programmatically Add Font-Awesome Icons to Category Widget
- Remove “says” from comments
- Reuse variable in hook callback
- Dynamically Register Sidebars For Each Top Level Page
- Run Product Filter Javascript On Page Template
- Most efficient way to get custom database records from 20 buttons and 20 tables?
- Can you use admin pages functionality on the frontend of your site
- How to add a column to the Trash page?
- Overwrite Parent Theme add_image_size in Child Theme
- Custom registration URL lost when user makes signup mistake
- Images uploaded using media uploader are appearing upside down
- Individually styling date month year [closed]
- Empty Date Returned on my function
- Woocommerce Attributes pulling in wrong data
- How to get the post_name when in preview?
- Tiny MCE-modifications (plugins) stopped working in WordPress 5.6
- Can’t check if a post has thumbnail adding filter to get_post_metadata()
- Writing functions in WordPress functions.php that don’t replace a WordPress core function
- How to hook into a function offered by a plugin?
- Echo tags used to describe the theme
- User meta and author meta
- Sorting table function default
- Custom Post excerpt not working correctly
- Custom Nav Walker sub-menu
- Wait a result before enqueue
- How do I remove the date and category form my portfolio pages
- Get list of all custom tanonomy id
- How to pass variables from a function in functions.php to an other one
- Modify post filter to set custom number of posts per page and exclude child posts
- Add code to Functions.php
- Changing parent element’s class or style
- How can we know we are not in edit page
- Adding jQuery datepicker to Custom Post Type Metabox [closed]
- User function to return multiple get_post_meta()
- What happens to the text in functions.php file outside of the php enclosure?
- wordpress acts like functions.php doesn’t exist [closed]
- retrieves menu and converts it to a readable array
- How can I pass a shortcode value to the head in wordpress functions.php
- Native gallery custom html output
- WordPress wraps span tags into p tags
- Auto scroll to id on page load on all pages except home page. Only do this on mobile
- How to add schema markup to WordPress menu function
- Use add_action within template
- Replace admin header logo with an image
- contact form in template with jquery,validate and ajax
- Featured Image and Tags problem
- Advanced method to control cache of enqueued style/script
- How to require a config file in a template and in function.php?
- Issue passing action class to nested function. Admin Columns
- Populate Product Regular Price with a calculated ACF Field Value
- Header menu aligned right on all pages except for single-post page [closed]
- How Do I Unhook This Parent Theme Function?
- How to make the RTL.css the dominant css code?
- How to create an array if ’empty’?
- Auto remove tags on certain date
- get_field() with ID in one signal filter not working
- i can’t use wordpress functions in ajax loaded php file
- Woocommerce – Switching Price for Category
- Remove External Links from WordPress posts Using add_filter() in Theme functions.php
- I’m getting invalid taxonomy in init action
- Is there any requirements to do socket programming with WordPress?
- Adding A New Widget to WordPress Disables the Existing Widgets
- Rest API User Levels
- adding google analytics via echo or between tags
- Slider Thumbnail Size Issue [closed]
- same get_posts function works diffrently in tag.php and functions.php
- Call custom field using php
- Problem in outputting shortcode
- How to Update User Meta Field other than from profile?
- Retrieve array of attachment IDs attached to a given Post ID
- add_theme_support not outputting thumbnails
- How to get tags and categories?
- More link – not text
- Archive.php, and post_is_in_descendant_category
- update_user_option not working as expected
- Having problems loading Jquery in functions.php
- How do I access variables outside a function [closed]
- Retrieving next_post_link() and previous_post_link() in functions.php
- PHP Notice: Function is_page was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false
- woocommerce_sort_product_tabs() expects an array