category filter

Posted in: Newspaper
Post count: 11

Hello, Newspapar.

I need to your help.

I made homepage using Newspaper and Fitness theme.

and i made category for POSTs.

category id——-1——2——3
—————————————
100 location
101 L top
102 L middle
103 L bottom
104 universie
105 L earth
106 L mars
107 subject
108 L world
109 L west
110 L east
111 L fourseason
112 L spring
113 L summer
114 L feeling
115 L happy
116 L smile

1 POST has 1 location / 1 universe / 1 subject.

EX)

post title categoey
THE WORLD 1 top, earth, world, west
THE WORLD 2 middle, mars, world, east
THE WORLD 3 bottom, mars, world, east
THE WORLD 4 top, earth, forseason, spring

I want to show a list of POST as “related posts” in the post detail view.

For example, if the selected “THE WORLD 1”, the POST has an “world-west” category.(ignore the “location” and “universe”)

SO, I want to only the POSTs to appear in the list in “world”. (NOT subject)
that result is “THE WORLD 1”, “THE WORLD 2”, “THE WORLD 3”.

If am i click “THE WORLD 4”, this POST as “related posts” is NOTHING.

so. I try to use filter.

https://forum.tagdiv.com/flex-block-settings-guide/
2. Filter > Multiple categories filter

However, the desired result did not come out.

1) -100 : NOTHING
2) 109 : subject all
3) 110,111,~119 : same to 2).

so How can I make only other posts in the category of the selected post appear?

thank you

Lee.

  • This topic was modified 5 years by reihyun.
  • This topic was modified 5 years by reihyun.
Post count: 11

It was hard to see, so I re-make the category structure.

100    location
101      L top
102      L middle
103      L bottom
104    universie
105      L earth
106      L mars
107   subject
108      L world
109          L west
110          L east
111      L fourseason
112          L spring
113          L summer
114      L feeling
115          L happy
116          L smile

Post count: 27744

Hello,

If I understood correctly, you want to display posts from a certain category, right?
To do this you need to filter by a specific category, or multiple categories filters (taxonomy) https://www.screencast.com/t/fCTxC54WF and add the ids of the posts you want to display.

If this is not what you mean, please provide some screenshots or a video.

Thank you!

Post count: 11

Hello, Anamaria!
Thank you for your reply.
and I wanna ask more.

this is my category tree.
https://www.screencast.com/t/SUnaODPZY

(I’ll explain it with the category number.)

“1” Post have 193,194,196,197,200,201,205.
“2” Post have 193,194,196,197,200,201,220.
“3” Post have 193,194,196,199,200,204,376.

and I want to ignore the A and B categories.(I’m talking about A & B in the screenshot.)

Assuming the category is excluded,
“1” Post have 200,201,205.
“2” Post have 200,201,220.
“3” Post have 200,204,376.

SO, if I select the “1” post, I want only “2” to appear as the related post in “1”‘s detail view.
also, if I select “3” post, related post is nothing.

I’m using the auto-generated post template in the fitness demo.
and try to use multiple category, but it doesn’t work.

1) i choose under 201 and 204. But when I select “1”, “2”&”3″ come out.
https://www.screencast.com/t/AWzFWL9FFw

1-2) I think the problem is that all posts have “200”, so I tried choose under 201 and 204 and added “-200” –> nothing.

2) and try excluded A and B categories. Then nothing comes out.
https://www.screencast.com/t/6Utrt9BnOut

When I click on the post, I only want each category to appear in the related post.
(Only posts belonging to “201”, only posts belonging to “204”.)

I don’t know if I explained it correctly. I hope you will review and answer.
and thank you!!

Lee

Post count: 27744

Hello, Lee,

If those settings were made on the blocks from the homepage, then it should work and display all posts that have assigned the categories ” “1” Post have 200,201,205.
“2” Post have 200,201,220.
“3” Post have 200,204,376.”
If there are no posts displayed in the filtered block, please add a new block and see if for the new one the posts are displayed.
If you want we can take a look and see what happened there. Please make a full backup to all files and the database and send an email at contact@tagdiv.com and provide wp-admin access, so we can investigate easily this issue. Also, paste a link to this topic so we can easily identify you.
Also, please insert a video with the steps done.

Thank you!

Post count: 11

Hello, Anamaria.

I tried the ways you told me, but it failed.
Then I sent an email on May 20th. (include inpormation)
I just wondering how long does it check to problum.

my email title is “[question] check my category filter (https://forum.tagdiv.com/topic/category-filter-6/)
“.

thank you.

Lee.

Post count: 27744

Hi,

If you already sent an email to support, then you’ll get a reply soon.

Thank you!

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.