Quantcast
Channel: Toolset » All Posts
Viewing all articles
Browse latest Browse all 20145

sliders: Having problems with DOM id´s Generated..

$
0
0

/*
Plugin Name: WP Views
Plugin URI: http://wp-types.com/
Description: When you need to create lists of items, Views is the solution. Views will query the content from the database, iterate through it and let you display it with flair. You can also enable pagination, search, filtering and sorting by site visitors.
Author: ICanLocalize
Author URI: http://wpml.org
Version: 1.1.4.1
*/
I was trying to get a slider working.. it goes ok, but, when I tred to CSS´s the page buttons, i found some 'strange' things.
the problem is that the next, previous buttons have the same class as the 'page' links. So is quite impossible to give different CSS to them.

I Finished changing the pages links css class to my own "wpv-filter-pagina-link", but sure it´s a better way, not touching the source code…

function wpv_pager_current_page_shortcode($atts) (wpv-pagination-embedded.php) line: 331


$link = '<a title="' . $page_title . '" href="#" class="wpv-filter-pagina-link" onclick="wpv_pagination_replace_view_links(' . $WP_Views->get_view_count() . ',' . $i . ', ' . $ajax . ', \'' . $effect . '\', ' . $page_count . ', ' . $cache_pages . ', ' . $preload_pages . ', \'' . $spinner . '\', \'' . $spinner_image . '\', \'' . $callback_next . '\', true); return false;">' . $page_number . '</a>';

thanks.

Miguel.


Viewing all articles
Browse latest Browse all 20145

Trending Articles