[wp-hackers] changing the tag query results
Haluk Karamete
halukkaramete at gmail.com
Mon Apr 16 18:02:37 UTC 2012
thanks for the example. you misunderstood me.
in your example, both items you use are tags. "privation" is a tag and
"chattels" is a tag.
I my question, "apple" was a tag, "fruits" was a category.
The question was about getting about the posts that have been tagged with
"apple" but only if the post is in "fruits" CATEGORY.
On Mon, Apr 16, 2012 at 10:25 AM, Mika A Epstein <ipstenu at ipstenu.org>wrote:
> I just tested on ugly permalinks, and it works, too.
>
> See test.ipstenu.org/?tag=chattels+privation
>
> Shows all three posts that are in both and ONLY both. Which I thought was
> what you meant when you said you wanted apples that are also in fruits.
> That's how it works.
>
> On Apr 16, 2012, at 11:56 AM, Haluk Karamete <halukkaramete at gmail.com>
> wrote:
>
> > Mika,
> >
> > I created a url like this
> >
> > mysite.com/devlib/?tag=apple
> >
> > And I changed it to
> >
> > mysite.com/devlib/?tag=apple+fruits as you suggested, but did not work.
> ( I
> > get the "Nothing Found.")
> >
> > Would it have worked if I had enabled pretty URLs where the url takes the
> > form of .com/tag/apple
> >
> > Or did you misunderstand the question?
> >
> > On Sun, Apr 15, 2012 at 1:55 PM, Mika A Epstein <ipstenu at ipstenu.org>
> wrote:
> >
> >> http://site.com/tags/apple+fruit
> >>
> >> ----
> >> Mika A Epstein (aka Ipstenu)
> >> http://ipstenu.org
> >>
> >> On 15 Apr 2012, at 2:46:46PM, Haluk Karamete wrote:
> >>
> >>> When the site visitor clicks on a tag term (such as "Apple"), he will
> >>> normally be taken to a url such as
> >>>
> >>> "site.com/tag/apple" where wordpress returns all posts that have been
> >>> tagged as "apple".
> >>>
> >>> Assuming the the visitor was on "Fruits" category when he clicked on an
> >> an
> >>> "apple" tag ( out of an excerpt of a post or something), and you want
> to
> >>> filter down the results to those posts that's been tagged as "apple"
> but
> >>> only if the post is in "fruits" category, what do you need to do to
> that
> >>> URL?
> >>> _______________________________________________
> >>> wp-hackers mailing list
> >>> wp-hackers at lists.automattic.com
> >>> http://lists.automattic.com/mailman/listinfo/wp-hackers
> >>
> >> _______________________________________________
> >> wp-hackers mailing list
> >> wp-hackers at lists.automattic.com
> >> http://lists.automattic.com/mailman/listinfo/wp-hackers
> >>
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list