Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Overring slider values

$
0
0

Replies: 0

Hi, I know that this is custom coding and not expecting much, but would like to be pointed to the good direction.

I have a slider reflecting values between 0 and 15000.

For a specific page, I would like to override this to 0 and 2000.

I successfully managed to show it properly on the frontend by editing the get_html_items function like this: http://prntscr.com/nhyx8l

This code works to some extent. The good values are displayed on the slider. However, it seems that they are passing to mdf_search_terms anyways even if I don’t change these values.
mdf_search_panel is telling that the filter 0-2000 is activated, which is not the normal behaviour: http://prntscr.com/nhywxe (this is mdf_search_panel, just with some additional css)

I’m missing something but I’m not quite sure what.
Could you point me to some direction?

Thanks!


Viewing all articles
Browse latest Browse all 59525

Trending Articles