Tom,
You’re right! I didn’t know how templates function, this was not something major, I just wanted to get that value and then display that value on my single.php page – but now I see that’s not how WordPress works. I decided to just leave off that functionality 🙂
Thanks,
Josh
Related Posts:
- Modify search function in WordPress (TwentyTwelve)
- How to customize search result page title?
- two search forms on the same page
- child_of not working while searching
- Condition OR for current user ID
- How to retrieve the current post’s generated featured image size?
- Custom Behavior when Adding New Custom Post Type in Dashboard
- Where do I store custom functions that call custom page template files?
- Why There Is No “get content by ID” Function
- Custom HTML markup
- Use a shortcode to display custom meta box contents
- Wp-query Order By problem
- Include the post type before the title of search results
- Create custom function for hero image
- Randomizing wp_tag_cloud() in child theme
- login_headertitle is deprecated since version 5.2.0
- How to append classname to body tag if guest user
- How to rewrite wordpress search to work on specific category
- Where do I go to edit this area? [closed]
- Replace plugin function with a custom function?
- Add attribute only to first image of every post via functions.php
- List post by title length
- Different favicon on different pages
- The_content and Preg_replace in loaded Iframe [closed]
- Problem with images URL after filter applying
- Function to replace comment’s accented characters before posting
- Insert a field with PREG_REPLACE – strange behaviour
- How to echo Widget Title in Custom Frontend-Template Box
- New checkbox in custom widget isn’t saving data
- Linking Javascript in functions.php file
- how to display a page before the home page
- search form leads to 404
- loginout function customization
- Custom function for search form
- Function to check if custom page is used by page?
- implementing a centralized content “show-do-not-show” toggle?
- How would I make a function to dynamically determine if user is logged to change navigation menu text?
- How to display this meta data (an array) in form of a function (created with a custom write panel)?
- WordPress – using sessions?
- WordPress: Highlight search result exact matches
- How to remove font awesome from loading in wp theme
- How to replace ACTION url from original wordpress login form?
- Header menu aligned right on all pages except for single-post page [closed]
- Save_post – Warning: Cannot modify header information
- How to use WP conditional tag in a functions.php with OCEANWP Theme?
- Modifying a WordPress Plugin
- CF7 select value get to function and reciept value from function
- Hide author info in single posts by certain users
- External api call and make global variable for any page visitor enters , page-home, page, single etc
- CSS style and app.js not loading
- Parent category as WOOCommerce Categories widget title
- Limiting WordPress Search function : Custom build
- Extend WordPress Audio Widget to accept HLS (.m3u8) URLs
- Shortcode to insert default text and change one word throughout it?
- I want to customize the_posts_navigation function by replacing prev and next with images
- How Can I Concatenate A String With One Of My Custom Field Value Before Saving The Post?
- How would I correctly implement a new if statement in a child functions file?
- Woocommerce custom calculation function
- Remove all video attachment, both files and post/postmeta from database?
- More than one search results page template for two searches on site
- How do i create a search option for pdf’s only
- WordPress Ajaxifying not working properly
- WordPress function with attribute pass to template
- Will dequeueing in child theme functions.php file prevent Google Fonts from loading?
- Form output outside of container
- True email confirmation for registration (keeping unvalidated users from user table)
- Replace image attributes for lazyload plugin on image elements with specific class
- Adding A New Widget to WordPress Disables the Existing Widgets
- How To Show Shortcodes In WordPress Custom Fields?
- Help! Need a different logo on my main page from my other pages
- Display page number on custom page title function
- How to make an If Else on Excerpt Filter
- How to replace words in my posts and saved new words
- How do I integrate my Child Theme into a Custom Template?
- Limit Number of Posts on Blog Category Page Throwing 404 Error on Paginated Pages
- Shortcode to eliminate and replace with
- us states dropdown function and echo in theme template files
- Add functionality to post editor
- custom post with loading script per single post
- Pagination in Search result
- Make WordPress search for only this tags or exclude certain tags from search [duplicate]
- Get Value of Custom Field
- restrict access to specific urls on a specific period of time
- How to request login for user but not for bots
- functions.php / replacing div’s with new ones?
- Search Woocommerce product titles only
- Why does modifying my functions.php file always result in a server error
- Post variables not displaying correctly in custom function
- Remove snippets of JS from core
- Removing Facebook contact field from user contact not working
- How do I add functionality to images?
- Custom Post Type Search
- Explode Array from Repeatable Custom Field
- WordPress Custom wp mail template return full template
- Problem with removing characters “<” – WpAllImport
- How to create a post without link in wordpress?
- How to crop image in WordPress with aspect ratio for any size of image
- multible shortcodes (for differnt values) with one function
- post_row_actions filter from parent theme not executing in child theme
- Customizer cuistom CSS Priority ordre Issue