Bug with Slideshow taxonmy selection and FIX [moved] #45

Open
zyml opened this Issue Aug 6, 2012 · 0 comments

1 participant

@zyml
Owner

This is Issue 129 moved from a Google Code project.
Added by 2011-04-20T18:37:37.000Z by XevianL...@gmail.com.
Please review that bug for more context and additional comments, but update this bug.

Original labels: Type-Defect, Priority-Medium

Original description

<b>What steps will reproduce the problem?</b>
Using 'TheCartPress' I select Taxonomy for the Sideshow to be 'Products', then select the 'Category' of products I want to display.

<b>What is the expected output? What do you see instead?</b>

The products in the selected cat to show and I get nothing.


<b>What versions of WordPress and Arras Theme are you using?</b>
3.1.1 & 1.5.0.1

---

It took me a whole afternoon but I tracked the problem down to the 'arras_get_terms_list' function in functions.php.

Line 186 read:
                        if ($taxonomy == 'category' || $taxonomy = 'post_tag') {

and should read:

                        if ($taxonomy == 'category' || $taxonomy == 'post_tag') {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment