wordpess
Moderator: General Moderators
wordpess
OK I have some misc categories used with game reviews on the gaming site
fps=136
tactical=192
so is there a permalink where I can choose example.com/category=136+192
I wanted to be able to narrow down say 500 fps action games into say tactical shooters where they are maybe 12 or 15 of them etc
ideally I would love to be have logical AMD, OR and NOT
is the blue sky or is there a way to do want?
fps=136
tactical=192
so is there a permalink where I can choose example.com/category=136+192
I wanted to be able to narrow down say 500 fps action games into say tactical shooters where they are maybe 12 or 15 of them etc
ideally I would love to be have logical AMD, OR and NOT
is the blue sky or is there a way to do want?
Hardcore Games™ Legendary is the Only Way to Play™
My site is powered by LAMP
My site is powered by LAMP
Re: wordpess
So I just went and picked a blog from some source. It uses category URLs like
Trying
pulled content from both categories, though it only showed name1 in the breadcrumbs. That might be the best you can get from vanilla behavior.
If you have the categories in a query string, try the comma or try multiple values with [] to make an array.
Code: Select all
/category/name/Code: Select all
/category/name1,name2/If you have the categories in a query string, try the comma or try multiple values with [] to make an array.
Re: wordpess
https://hardcoregames.azurewebsites.net/category/[fps,tactical]/
only gives the fps without also narrowing down to tactical
SQL would be
SELECT * from wp_posts WHERE category = fps AND category = tactical;
only gives the fps without also narrowing down to tactical
SQL would be
SELECT * from wp_posts WHERE category = fps AND category = tactical;
Hardcore Games™ Legendary is the Only Way to Play™
My site is powered by LAMP
My site is powered by LAMP
Re: wordpess
Oh, you want both FPS and tactical? Then if what I said worked it wouldn't be right anyways.
I doubt there's a way. Given that what I found showed results from either category, if there was a way to do multiple categories then it would probably be the same.
If I was familiar with WP code I'd look into it, but a quick scan through their source didn't make it easy to understand.
I doubt there's a way. Given that what I found showed results from either category, if there was a way to do multiple categories then it would probably be the same.
If I was familiar with WP code I'd look into it, but a quick scan through their source didn't make it easy to understand.
Re: wordpess
At a glance, it seems like you can pass multiple categories to get_posts. Might take a little custom functionality, but it does appear to be supported.
Re: wordpess
I am kind of disappointed that WP is not as sophisticated as I would like to make more specialized URLs instead of using the search and then copy that URL which is clumsy to say the least.
https://hardcoregames.azurewebsites.net/?s=tactical+fps
https://hardcoregames.azurewebsites.net/?s=tactical+fps
Hardcore Games™ Legendary is the Only Way to Play™
My site is powered by LAMP
My site is powered by LAMP
Re: wordpess
Well, there's always add_rewrite_rule.
Re: wordpess
I do not understand why rewrite is not offered standardCelauran wrote:Well, there's always add_rewrite_rule.
it makes using WP more powerful for sophisticated users
Hardcore Games™ Legendary is the Only Way to Play™
My site is powered by LAMP
My site is powered by LAMP
Re: wordpess
Sophisticated users aren't the target market. Moreover, they can generally figure this out on their own.
Re: wordpess
WP is mainstream for CMS packages, so it has to span a wide range of users.Celauran wrote:Sophisticated users aren't the target market. Moreover, they can generally figure this out on their own.
I have inquired about the work needed to drag it into PHP 7 and while WP is not a problem, the themes and plugins are a problem
Hardcore Games™ Legendary is the Only Way to Play™
My site is powered by LAMP
My site is powered by LAMP