Hello,
following a rather troublesome issue with custom alphabetical taxonomy, I now have created seperate alphabet pages linking them to each other, splitting up the album review section.
The menu links to a mega menu category “music” which also features the “album reviews” section, which houses the most recent posts and should contain a menu to the archive.
Problem: http://v2.enola.be/
I made a “albumrecensies” page with tagdiv composer (last item in the menu), using the flex block. This gives me a fantastic layout of albums, and makes it easy to add a menu to the bottom.
http://v2.enola.be/albumrecensies/
However if I add this to the menu as a mega item, the example articles I get is way too huge and fills up the entire screen, as compared to the regular “muziek – albumrecensies” option in the menu.
What I would like to see:

What I don’t want to see:

The only option I think I have is simply using category pages and hardcoding a menu in it, however I would then like to make it look like the flex block I created with the tagdiv composer; a row of 5 posts with a content stretched to 1400 px.
Is it possible to adjust the link in the mega menu, so that it shows the category page posts in the menu when hovering, but when clicked refers to the custom created tagdiv page ?
Or would I need to adjust the module used on the category to make it look like the flex block I created ?
So make it look from this http://v2.enola.be/category/muziek/muziek-recensies/ into this http://v2.enola.be/albumrecensies/
thanks for your advice.
The page I built with tagdiv composer, which allows me to use a shortcode plugin where I can make use of a custom taxonomy filter, eliminating the use for having a custom taxonomy filter in the tagdiv composer. I have tried adding that option but I failed miserably so…
-
This topic was modified 8 years by
NickDeBaerdemaeker.
Hi,
The page menu looks huge because the flex block used seems to have a limit of 15 posts. Decrease that to the limit you want, in the flex block general settings
– https://www.screencast.com/t/weJncczMjoq
The page is displayed in the menu as you create it with the composer.
The regular mega-menu has a limit of 4 articles, with sub-categories on the left of the posts.
I’m afraid that’s not what I’m asking.
In the menu I make us of mega menu categories.
I really need to make the “album recensies” show up in photo’s to the right,
whereas the link should point to the page http://v2.enola.be/albumrecensies/ instead of the category: http://v2.enola.be/category/muziek/muziek-recensies/
Can this be done in the mega menu block file ?
I tried writing a redirect url instruction in the functions but it’s simply not responding at all.
$url = 'http://v2.enola.be/category/muziek/muziek-recensies';
$my_var = 'category/muziek/muziek-recensies';
$url = str_replace("albumrecensies", $my_var, $url );
So you want that page “ALBUMRECENSIES” to show up in the mega-menu, instead of the sub-category page. The mega-menu only works with categories, displays posts from categories. It is not supposed to display pages, that is what the page menu would be for.
But what would be the purpose of including the page instead of the sub-category exactly? Category templates can now be built just like pages, with the tagDiv composer so the design of the category page is not a problem.
Maybe leave it as a category maybe, and design a category template as you want with the tagDiv composer. You can make the category template exactly as the page you created with the flex block
– https://forum.tagdiv.com/tagdiv-cloud-library-plugin/
Please try and make use of the available theme options instead of code modifications if possible, these might not work with future theme modifications by update or even be lost after an update.
We try to add more features with each update, more multi-purpose options for both news publishing and other areas. But these take time and lots of testing.