Questions

Posted in: Newspaper
Post count: 151

We want to achieve two things:

1) We use visual composer in order to ‘extend’ our menu. We use a 6 vertical frames style and we include a text link on every frame. We copy/paste this part of visual composer to every page of the website. We were wondering if there is a way to include this part to the header part, so we dont have to paste it every single time. Is there such an era, that we can tell visual composer to always include this template before the start of content of the page? If no, which other options do we have (probably a presaved template, etc? )

2) we want to create a category that will contain posts, which we will be able to arrange the way we like without having their dates affected at all. Something like an up/down arrow for live sorting through wp-admin, that would change their sort in the frontend, would be good. Any ideas?

Post count: 6535

HI

1. This could be achieved by editing theme’s code. Basically you need to edit the file which generate the header style used and use do_shortcode function to echo out the shortcode which generate that custom menu. http://screencast.com/t/GfnuK6fiYw

2. By default the category page cannot be customized to much, the post order if fixed. However you can use a code snippet to generate a custom one using Visual Composer. Here is an example:
– create a new page and add on blocks which will display all desired posts for the custom category page. You can use all available filters for blocks.
– create a new category page, ex: custom category
– edit category.php file and add a contrition like here: http://screencast.com/t/gxZTyMpw
For ,ore detaisl about is_category function please check this link: https://developer.wordpress.org/reference/functions/is_category/

This is just a basic example but could be customized in many different ways. Note that you may need some additional css for page’s layout.

I hope this helps.
Thanks!

Post count: 151

Thanks for your prompt response.

1. Im afraid that this is not a shortcode. Its a column made with visual composer.
Any way to include it there? Basically, we want a menu horizontal row, that would be responsive and will only contain text along with font awesome icons in front of them.

2. I understand. Basically, we want to have events listed there. We would arrange sorting via date posted manually, but we want to keep original post date visible. Some events are upcoming, some other past. We may post a past event today and an upcoming some days before the first one. This will confuse our visitors. Is there any way to add a custom post type or something so we can move everything up and down by altering a field? Something like priority from 1 to 999. Each number should be a position.

Post count: 23312

Hello themesic,

1)Unfortunately, this is not a simple task and for achieving these customizations is required to make some additional customizations through code that involve custom work. It can be obtained by using shortcodes
because it involves other customizations that unless you have solid knowledge in this area you cannot get. So, if you are not aware of the steps in this regard, please consider hiring a freelancer/developer to help you because we cannot provide custom work at the moment, sorry!
2)If you are not aware of the steps which my colleague gave you about you can try to find some plugins with this functionality and try to implement it to your side or you can hire someone which help you in this regard because we cannot provide any additional customizations.

Thanks for your understanding!

Post count: 151

Regarding 1) – I made some progress. Can you help me assigning the proper CSS class to the menu items so they are being centerized? -> http://prntscr.com/c8qcv9

At this time, they are being listed on the left, with no style at all. I want to use Headers’ 10 style for this menu.

FIY (and for everyone that is trying to achieve this), what I did so far is to add this code in functions.php:

function print_menu_shortcode($atts, $content = null) {
extract(shortcode_atts(array( 'name' => null, ), $atts));
return wp_nav_menu( array( 'menu' => $name, 'echo' => false ) );
}
add_shortcode('menu', 'print_menu_shortcode');

Then I added this line on header-style-10.php (the one I use):
http://prntscr.com/c8qdl3

I created a menu, called ‘middlemenu’ and it worked. However Im not sure what CSS classes should I enter there.
Please advise.

Post count: 23312

Hello themesic,

Please provide your website URL so I can inspect it closer and also, so I will be able to provide a more accurate response.

Thanks.

Post count: 151

Is there any way to provide it through a private reply?

Our website is on a development server for a client, so we need to ensure that privacy is met and you will also need to alter your hosts file in order to access it.

Post count: 23312

Hello themesic,

You can send us an email at contact@tagdiv.com with your log-in information (wp-admin) so we can further inspect it and also, so I will be able to provide a more accurate response. Provide the link of this topic so we can easily identify you.

Thanks for your understanding!

Post count: 11

Were you ever able to get this solved? I’m trying to use the Events Calendar Pro and am running into the same issue.

Ben

Post count: 23312

Hello d20games,

Unfortunately, the Events Calendar plugin is not tested with the theme and we cannot provide support for untested plugins.

Thanks for your understanding!

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