You are here:  » Wordpress Widget Edit


Wordpress Widget Edit

Submitted by ccgale on Tue, 2013-08-13 18:56 in

Hey

Sorry to post again. Almost know how to do everything I'm after now!! How would I go about editing the PriceTapestry.org search filters widget please. I do not need Category in there as I use my own custom categories

Thanks

Submitted by support on Tue, 2013-08-13 19:17

Hi Carl,

You can remove the Category filter by editing the Main / Search Filters Widget template (/wp-admin/ > Settings > PriceTapestry.org). In the template, look for the following section of code based on the default values:

%IF_CATEGORIES%
Category:<br />
<select name='pto_categoryFilter'>
  <option value=''>All</option>
  %CATEGORIES%
</select>
<br />
%ENDIF_CATEGORIES%

Delete from the template, and that will remove the category filter from the Sidebar Filters widget.

Cheers,
David.
--
PriceTapestry.com

Submitted by ccgale on Tue, 2013-08-13 20:00

Again, many thanks for the quick reply.

Is there anyway to display the merchants/brands as scrollable box rather than drop down list? I am trying to create a very specific look and feel for the site and this would help massively

Submitted by support on Wed, 2013-08-14 09:58

Hi Carl,

Adding a size attribute to the <select> tags in the filters widget will create a scrollable multi-line display, which could then be styled if not quite as required based on your themes default styling.

To do this, as above from wp-admin > Settings > PriceTapestry.org scroll down to the Main / Search Filters Widget template, and first look for the following line:

<select name='pto_merchantFilter'>

...and REPLACE with:

<select name='pto_merchantFilter' size='4'>

And then the following line:

<select name='pto_brandFilter'>

...and REPLACE with:

<select name='pto_brandFilter' size='4'>

(or size as required of course)

Hope this helps!

Cheers,
David.
--
PriceTapestry.com

Submitted by ccgale on Wed, 2013-08-14 10:00

Many thanks, will test it. Just need to get my store working again first hehe

Submitted by support on Wed, 2013-08-14 10:05

No probs!

If you wanted to try the stepped version of cron.php that I just mentioned in this thread just let me know..

Cheers,
David.
--
PriceTapestry.com