Forum replies created
Hello. Unfortunately, no update has been made available yet. Please expect the next one in early December; the fix will come with it. Sorry again for the delay.
Fantastic! Happy to be of assistance.
Please try the following: Customizer->Blog->Featured Image->Enable the checkbox “Enable Hover Effect on Featured Images” and save. Let me know if that works for you.
Can you please send me the link to where you see (or don’t see) the icons? I was talking about this block: https://prnt.sc/SBoXKNcijoLy I guess you mean somewhere else.
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.