I would just put the custom fields in the <li>
after the <a>
and then show/hide them with your preferred tooltip method, whether it be CSS, JS or a combination of the two:
<?php
if( $my_query->have_posts() ) {
while ($my_query->have_posts()) : $my_query->the_post(); ?>
<li>
<a href="https://wordpress.stackexchange.com/questions/155135/<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>" target="_blank"><?php echo str_replace($xx,'',get_the_title()); ?></a>
<div>description, post-image, etc go here</div>
</li>
<?php
endwhile;
}
?>
Related Posts:
- ajax jquery update custom field meta value front end
- How to populate custom field dropdown box based on prior selection?
- Show user info in a hovercard [closed]
- Trying to implement AJAX into my admin pages. Am I improperly enqueue and localizing my scripts?
- Validating Custom Meta Box Values & Required Fields
- Add a Jquery Datepicker to custom field in post edit
- Arrange custom fields with drag and drop?
- Convert jQuery Datepicker Format to SQL Date Format
- Edit Custom Database Tables in WordPress
- Fetch and show multiple custom fields via AJAX
- Register new user and add custom data row value for it
- Update WordPress Custom Field with AJAX on cached page
- Update meta values with AJAX
- Front-end update_post_meta with ajax
- making sense of admin-ajax
- sort search results by custom fields using dropdown
- How do I use Ajax to build a dropdown of custom fields based on a post selected in previous dropdown?
- Update Custom post field by Ajax on cached site
- load custom fields on click
- WordPress: custom field display twice
- jQuery – Automatic event trigger does not **really** check my form
- Adding auto-complete to custom gravity field not working
- Uploading PDF using Media Uploader
- Get image url using image id
- How to use media upload on metabox post page without breaking TinyMCE?
- WordPress colorpicker save both hex and RGB
- Add a counter for mouseovers (custom field)
- How do I convert all custom_field php timestamps in the database to js timestamps?
- Jquery on custom-field backend
- Custom field bug in WordPress 3.2
- Meta field bulk editing no longer working in WP 6.0 [closed]
- Populate Product Regular Price with a calculated ACF Field Value
- Add forms dynamically in admin pages?
- How can I create a button that when clicked populates a div with a list of foods that are checked as a certain type of ACF?
- How to save multiple custom user profile fields using repeater JQuery
- create a custom field that let me include other posts
- Get a different meta value with ajax when different elements are clicked
- change attachment custom field onChange event
- CSS conditional on custom field value
- Validating custom meta boxes with jQuery results in posts being saved as draft instead of published post
- show custom field content in jquery tabs
- Ajax success function
- The “_encloseme” Meta-Key Conundrum
- Do I require the use of nonce?
- Basic WordPress AJAX Call
- Security – Ajax and Nonce use [closed]
- Display custom field only if value present?
- Basic ajax call in WordPress
- meta_value_num sort glitch
- meta_query for a string inside a meta field containing a comma-separated list
- Combine multiple custom field values into single value
- Creating a custom menu/widget area
- Ajaxify calendar
- Ajax date_query not working past the first iteration
- How can I use cached images in an AJAX response?
- Modifying custom order item meta from admin order view
- WooCommerce – Adding Custom Fields To Invoice
- [jQuery]Adding shortcode
- Post thumbnail to append post content via ajax click event
- $form_fields from attachment_fields_to_edit returning empty array
- Customizing WP user profile with custom fields
- WordPress admin-ajax.php 400 bad request
- Adding custom field to post object from custom table
- Using abs() with custom field in orderby statement
- Can’t save custom field on registration page
- check for duplicate user meta data before updating
- WP Cli – post add meta in xargs after wp post generate – add multiple fields
- Anyone know how to use ACF and show custom fields for logged in users only on a post? [closed]
- ACF Plugin How to make the customer add more fields in the post?
- custom field in admin columns
- Is there some jQuery conflict here?
- Populate wordpress menu with link to custom field value (file download)
- Selectively hiding or allowing thumbnails of featured images on front page
- Users uploaded image and matching an id or taxonomy
- Get cat parameter from admin-ajax
- Adding data to User profile
- How can I change author of posts to the value of one of the custom field of the posts?
- Is it possible to add Term Meta Fields to a WooCommerce Attribute?
- register_form, custom field not submitted on first try
- Change add_filter based on Ajax
- How to properly get popular Posts by multiple Values
- Query Custom Fields in Searchform
- Make custom user_meta as permalink for post
- Creating Structured Documents (books) in WordPress?
- Filter query based on date in custom field
- Using AJAX in WordPress Widget
- Adding custom fields to images
- How to save dynamically generated value in post type?
- how to show this part only in the single post page?
- Checking if field is set before comparing with meta_query in query_posts?
- Calling a custom profile field only it it exists
- Only show content slideshow if “slideshow” custom field exists
- If post custom meta data is not set, show normal state
- Sort posts after filtering them through multiple taxonomies
- How to include custom field in shortcode (do_shortcode) in theme file
- Query posts by Custom Meta (checkbox) & Genesis Grid Loop
- custom field with links
- Custom fields: Split data from single custom field’s sub-array to separate custom fields when saving post
- How can I copy value from dropdown once I select it to text area as text?
- How to add new Metadata options (Date, Author, etc.) for Posts?