This is how i got it working:
'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
return '<span id="fancybox-title-over">' + jQuery(currentArray[currentIndex]).html() + '</span>';
}
Related Posts:
- Jquery Slider for profile template
- Add Infinite Scroll to Ajax Loaded Category Query
- Load comments per post on click with AJAX
- angularjs not displaying all posts
- Get Page content to displayin Bootstrap Modal
- ACF – add a group inside a repeater [closed]
- Fetching posts from wordpress function in ajax
- Using jQuery .after inside loop
- Active class for my flexslider in WordPress
- Code to check amount of blog posts and add css
- WooCommerce – Checkout suddenly stops working [closed]
- How to toggle a div element between two images when click two submit buttons in a wordpress loop?
- Show scheduled posts in archive page
- post__in – Placing content from a foreach loop inside of an array
- loop query exclude meta_key with meta_value
- “Blog pages show at most” in The Loop
- Custom page template
- Get posts that matches specific terms of multiple custom taxonomies
- add_filter() doesn’t work in loop
- The Loop in Static Page
- How can I use get_permalink() outside the loop?
- Content/Excerpt length control for a specific loop?
- How to check for specific content in comments in the loop
- Why we use if with while loop?
- Problem the_permalink
- Loop posts only excluding first post
- Loop repeating design pattern
- Create static front-page with 3-5 recent posts
- Customize WooCommerce Product Images (Placement and size) [closed]
- Create a loop that gets pages with their template
- Why is my loop not dynamically grabbing the correct Category and displaying all categorized posts?
- get latest 5 posts and a specific post and sort in a specific order
- How to check if a post exist?
- Why cant you place the Loop outside of the index.php?
- sticky post in custom loop
- Infinite Scroll on a loop?
- On single.php, fetch 2 posts created after and 2 posts created before in relation to the actual post (using menu_order)
- Post classes in the loop are being changed in certain themes
- Exclude page name from loop
- PHP if post is already displayed, then
- How to style first post differently with ‘get_template_part’?
- in Foreach Loop the Description is not showing?
- 404 Template customization | Want 10 recent Post on the 404.php error page apart from the error Notice
- How to exclude or filter password protected posts when using next_post_link() previous_post_link
- How to append a query string to pagination?
- Use have_comments() for current post instead of last post in loop
- Get the image src and href data from posts
- Sending mail not working correctly
- WordPress shortcode in content, output in sidebar?
- Using variable in WordPress loop as criteria
- WordPress Alphabetical Sort Loop Issue
- Get_template_part() problem with the_content()
- Multiple instances of Featured Image Thumbnail As A Background On Homepage
- Altering “posts_per_page” for defaut loop
- Why doesn’t ‘continue’ work in page?
- Saving return value from the_author_posts_link()
- how to run loop in function.php that sends email based on specific conditions?
- Exclude current post ID from loop in sidepbar.php
- loop inside a loop : search for posts in the same category
- How to sort a loop after most viewed
- How to declare a variable in a loop and make it available in the template file
- WordPress posts loop not displaying all posts on blog
- get_page_by_title not working inside fucntions.php
- How to use single.php output in function.php
- Bootstrap tabs are not being clicked in WordPress loop
- Get a specific size from wp_get_attachment_image_src
- WordPress + Isotope: how to give different widths to each entry?
- hide woocommerce tab if empty
- Url outside the loop
- How to filter get previous post function by meta value DESC and post date DESC?
- Show other category posts in single.php
- Why does it loop twice?
- Cant pull in featured Image
- Custom Looping of WordPress Posts
- how to place Post and page content side by side
- Add specific class to featured posts
- Link Button url count php and wordpress
- ACF field not appearing correctly in loop
- Posts are being displayed from old to new, in ascending order
- Loop in taxonomy for terms and post
- WordPress Tags in class
- Query counting excluded category on paged loop
- Using shortcode within shortcode with dynamic variable
- modify default HAVE_POSTS() Loop without inserting new variable (i.e. $loop->HAVE_POSTS)
- Display articles related to a custom field on a page
- Changing the loop w/o killing category links
- Custom loop page with post navigation
- Pages with a loop (index, archive) are loading the first image as post_thumbnail
- Using jQuery toggle() in WordPress post to show/hide Tweet button?
- Ajax request with jQuery without WP_ajax
- Loop from another WP site onto mine
- Having issue with WordPress loop
- I need to update the post query? [closed]
- Wrap every 2 divs in row – for each loop [closed]
- How to add class to the last image of the last post in a loop
- Multiple loop with pagination in same page
- wp_mail sending only once inside foreach loop
- How to use orderby on meta_value when using Pods custom database table storage
- wp_mail function not working in user query loop
- How to set and retrieve cookies while in the loop