Archived topic
Create a secondary blog page
11 replies · Started by Hans on July 4, 2021
Hi,
Thanks for a great theme/plugin. I would like to create a duplicate of the existing blog page in the Crypto demo without using a plugin. How can I do that?
Regards
David
Hi there,
WordPress only creates one blog page per site unfortunately - this isn't something the theme can control.
Can you explain what the purpose is to have the exact same content twice?
Hi,
The purpose would be the following:
When the visitor visits the A (see private note) and clicks on for example Intervjuer, the customer is redirected to B which should have the exact same masonry layout but with other content.
Hence, I need to recreate the page layout of the blog page, for other posts and pages.
Regards
David
Hi Hans,
I believe there's no need for 2 blog pages for this. You can simply use Category archive pages for this.
Any particular reason why there has to be 2 blog page rather than 1 blog index page and 1 category page (intevjuer) or 2 category pages (inspiration and intervjuer)?
The point of having blog index page is to have a main listing of ALL the published posts. If you want posts by groups, you either set their category or tags. These categories and tags have their own "blog page" or archive pages where the listing is for posts under the same category or tag.
Hi Elvin,
Thanks for your feedback.
Ok, how do I create a category page? There is no relevant info in documentation/support forum when searching for category page.
Regarding your question, there is no particular reason. I just want to create a new page/post with the exact same masonry layout seen on the blog page. If its possible to do that in another way then to duplicate the blog page, then all is good.
Regards
David
Hi there,
you don't create Category pages - the Theme will automatically generate them for you.
All you need to do is create a Category in Dashboard > Posts > Category eg. inspiration
Then add that Category to the posts you want it applied to.
Then a Category archive will be generated on a URL like https://yourwebsite.com/inspiration
Hi again,
So I have created three different categories under the Dashboard > Posts > Category, one of these categories is B (see private note). Now Im trying to get the url A (see private note) to have a masonry layout that looks like the blog layout.
Regards
David
Hi Hans,
1. Your currenty category archive page URL format is http://your-webiste/category/category-name, if you don't want the categoryin your URL, go to settings > permalinks, enter an . in the category base field like this:
https://www.screencast.com/t/qkMLMZvakdee
2. Go to customizer > layout > blog, activate the Display posts in masonry grid option.
https://docs.generatepress.com/article/using-columns-in-the-blog/
Let me know if you need further assistance :)
Hi Ying,
Thanks for clarifying the URL.
I have followed Elvins instructions on creating a category page (see URL A in private note). All good so far. When accessing the Inspiration tab in the main menu, the visitor is redirected to url B (see private note).
On that page, when clicking the button Read more on the post Topplistan Filmer, I want the visitor redirected to URL A. I have tried editing the slug in the post but it automatically changes back to - instead of /. How can I change the redirect URL?
Thanks in advance
Regards
David
when clicking the button Read more on the post Topplistan Filmer, I want the visitor redirected to URL A
I'm not sure I fully understand your question here.
The Read more button link is set to the single post in the content template element, when you click the Read more button you should be directed to the post which is the current behavior.
When you say post Topplistan Filmer, do you mean the read more button of a specific post and you'd like the read more button links to the topplistan-finansfilmer category page?
If so, I don't think it's possible.
Let me know if I miss anything.
Yes, that is correct. I want the read more button of the post Topplistan Filmer to link to the category page topplistan-finansfilmer.
If it's not possible, how can I get the post Topplistan Filmer to have the same masonry layout as the category page topplistan-finansfilmer?
Maybe, I haven't managed to explain what I want to achieve earlier but this was the whole point with following Elvins instructions.
What I want to achieve is:
1. Customer clicks on Inspiration on main menu
2. A page/post (does not matter) opens with a masonry layout where every picture is clickable (or the read more button)
3. Customer is redirected to another page/post with a masonry layout where every picture is clickable (or the read more button)
Thanks in advance.
Hi there,
3 of us have now read the explanations but we are still quite confused unfortunately.
Let's take a step back.
GP's masonry layout can only be used in blog and archive pages to display posts - it cannot be used in a single posts to display pictures.
For that function, you will need a custom solution or perhaps a gallery plugin?
If this still doesn't help, is there an example you can show us?