Forum replies created
Hi. I apologize for the considerable delay in answering.
1. You are correct; this is not optimal. I don’t have a way to make it easier. Let me think about it, and I’ll try to come up with a way.
2. Two icons are shown: a link and a magnifying glass. I find this sufficient. Don’t you think so?
3. No, they aren’t. We will consider adding them in the next update.
Hi. Not exactly. When the lightbox feature is on, images with a link open in a lightbox. If they don’t have a link, they don’t. So, if you want an image to trigger a lightbox, you need to add a link to it (to the image itself), and then it will work as expected. And on the blog page, where blog posts are shown with excerpts, if the lightbox is on, clicking on an image opens a lightbox UNLESS you click on the link icon. If you do, you are transferred to the blog post. Hope it helps, if it doesn’t, please let me know and I’ll do my best to assist.
Hello. It seems that there is a large gap between the versions, but in reality, it isn’t so. We had some internal reasons for doing it this way. We will correct the versioning in the next theme update.
Oh, and btw, the single quotes are wrong here, but it is because of the forum’s output. You will need to adapt them to standard in your code.
Hi,
Please allow me to offer some insights into your code. I see some things that might cause it to work differently than you expect.
First, the full version of the code how I suggest to implement it:
function redirect_to_welcome_page() {
if ( (is_page(‘welcome’) || is_page(‘contact’) || is_page(‘about_us’) || is_page(‘login’) || is_page(‘register’)) && !is_user_logged_in() ) {
wp_redirect(home_url(), 302);
exit();
}
}
add_action(‘init’, ‘redirect_to_welcome_page’);
The differences:
1. Your if() statement has a precedence issue. && has a higher precedence than ||, so your code works like this:
—
if ( is_page(‘welcome’) || is_page(‘contact’) || is_page(‘about_us’) || is_page(‘login’) || (is_page(‘register’) && !is_user_logged_in()))
—
And I don’t think that it is what you wanted. Hence the correction.
2. After the if() statement you put a semicolon. So, you conclude its execution without having it do anything if the statement is true.
3. the wp_redirect() function expects the redirect number as integer, so I removed the single quotes.
That’s it, I hope it helps you.
Hi. I am sorry for the late reply; I was out of commission for a week, unfortunately. The screenshot you’ve sent is broken. Can you make one again and explain in more detail what do you need? Thanks, and sorry again for the delay.
Hello. Sorry for the issues you are experiencing. I will explain: version 2.9.1, rolled out on 11.12.2018, introduced some breaking changes. The theme was completely rewritten, and a mechanism was established to help clients migrate to the new version. But now, 5.5 years later, this mechanism is not compatible anymore and doesn’t do its job. This update is technically as if you (almost) moved to another theme. We cannot assist you with the issues. The only thing you can do is restore your backup, create a staging environment, update the website there and rebuild everything that needs to be rebuilt. And then roll the new websites out. I’m afraid there’s no other way. Always updating the themes when a new version is out is important. This is how these situations can be avoided.
Hi. Sorry for the late reply. It seems that the issue is not on your side. It is ours, in the theme. We will probably need to put a fix in the next theme update, and we will roll it out this month. Sorry for the inconvenience, and thank you for your patience. I will give you update the moment I know more.
Hello. I’m sorry to hear that you are experiencing difficulties. Please send me private message access to your admin area by ticking the box “Set as a private reply”. FTP access would also be helpful. Thanks.
Hi. Sorry for the delay in my reply. I checked, and Nav Menu Roles works perfectly with Evolve. If you have issues with this, the conflict is not with the theme; it is with something else on your website. Try to find out what by deactivating all other plugins, making sure that everything is working as expected, and then starting to activate them one by one and checking again. You should be able to locate the issue this way.