You can use get_the_title()
to return the current post title in the loop.
Related Posts:
- Get check box values inside array for use in posting form data
- How do I make my function add variables/values to the $post object?
- Cleanest/Fastest way to avoid calling and retrieving data from the database multiple times?
- How do I know what variables are passed in a filter/action and what their meaning is?
- Need to get specific data from array
- Create an array from an array
- Check if term object is in array
- Count the number of times the search form template gets included on a page
- Using a variable in is_page(array())
- How to put a variable in a instance in the widget
- Call global variable array() in woocommerce child/template
- get a simple array of all of the term names that exist in all taxonomies
- Populate dropdown with Child Pages based on Parent Page chosen
- Get value from shortcode to do something
- foreach loop still echoes array
- Checking array against author id in loop
- Alter required message using comment form api
- meaning of (array)function()
- wp_force_remove_style’ not found
- How to fix this warning:call_user_func_array() expects exactly 2 parameters, 1 given in D:\wamp\www\…….\wp-includes\class-wp-hook.php on line 286
- Filtering a function’ output for a new continued function
- Creating WordPress Shortcode with Variable
- How to use array in function to get only value I want
- Warning: in_array() null given in PHP function
- Loop over Array and get the distinct ids
- How to access or parse key/values that have “string”
- If Array Values Match Another Array’s Values, Then
- Changing the order of custom fields in the dashboard for Woocommerce variable products [closed]
- How to reference PHP in Javascript
- Overide Variable in Child Theme
- Dynamically adding filters
- Only load certain artists on this page
- How to make sure relative URL works when site is not on root domain?
- Custom functions for string data calculations
- How to send a php var to jQuery Ajax call with two different file
- Custom global variable not working in function
- Best way to use variables in multiple functions?
- Trying to add some custom text into WordPress Post title via function.php
- How do I fix Undefined variable using $_POST in function?
- Store custom field’s multiple values in one user meta key
- Fatal error when using array_diff() function inside of wp_update_nav_menu hook?
- Display posts using post ID’s in an array
- Pulling a variable into the wp_nav_menu function
- Where can I find the declaration of `$_wp_theme_features`?
- Page returning ID from array, how to return the correct values for post in acf wordpress
- Display a post based on its metabox selection
- Showing all post from all post type in admin backstage
- PHP Use Declared array Variable inside already Declared Array
- Custom WordPress Function – Adding items from Foreach Loop into an array and Updating Field based on array of IDs (ACF + WooCommerce)
- Replace block content with an array
- How to access admin menu labels and links on front-end?
- How to get default variation ID (woocommerce)
- Display a specific category of products in shop page and disable code for specific actions
- Woocommerce related product text
- esc_html_e() is not translating string in wordpress [closed]
- Removing “wpautop” (auto tags) only on certain pages?
- Fatal error: Uncaught Error: Call to undefined function test()
- How to pick the default selected value in wordpress dropdown?
- Using WP-API and SSE not authenticating user ID
- Woocommerce: hook action/filter I could use to add variation id and price with each attribute opt on WooCommerce Rest api
- Validate functions before inserting then into functions.php
- How to retrieve current wordpress profile page URL?
- Firing schema via code in functions.php doesn’t work
- A non-numeric value encountered in /wp-includes/functions.php on line 68
- Get page that displays all children of taxonomy parent
- Ajax request not sending to server and returning – wp-admin/admin-ajax.php 400
- get author_name from queried post
- Why ajax doesn’t work on certain wordpress hooks?
- Is it possible to intercept all ajax requests and get the parameters and the returns?
- How to call plugin function per site in a multisite?
- Print last modified date only on posts
- different id for same element visual composer [closed]
- WooCommerce: How can I get orders with a custom ID in order meta data object?
- PHP Array Returning [object Object]. Tried existing answers results with no luck
- Tax query in pre_get_posts not working
- WordPress Gravatar filter is removing my custom attributes
- trigger html cleanup for all posts
- Error in custom php function doesn’t exist
- dynamic dependent select dropdown
- Generating an nonce for Content Security Policy and all scripts – How to make it match/persist for each page load?
- Custom shortcode outputs plain text instead of HTML at top of post
- how can i use $_COOKIE[] + PostID to execute the below code?
- Return a numerical function value in Customizer controls
- getting logged in user info (wp-load.php) from parent directory
- How can I get the values of my WordPress $wpdb query in Jquery?
- What’s the uses of wp_cache_set() or wp_cache_add()?
- Get users that likes the post
- Blog posts repeat
- Ajax load more button for comments wordpress
- Function to capture a value and store it in a variable
- How to abort saving data in save_extra_profile_fields function WordPress?
- Pass php dynamic variable to shortcode
- Unique icons next to each WordPress menu item
- 3 Slashes appear after Apostrophe in custom fields after updating product-site
- How to create a php variable using WordPress the_title() function
- Keyword checking in Gravity Forms
- how to refresh div on template part?
- PHP, Creating a dynamic variable
- Child page menu in sidebar
- How to modify a global variable in a function and use it on another function?