-
AuthorPosts
-
September 13, 2024 at 3:06 am #1466859
Hello.
I am writing this text using English translation software.
I currently have “Logo And Main Menu” set to “Left Sidebar”.
At the top of each page, I have different page content created as a second header and placed using ALB’s “custom layout”.I will let the customer do the blog postings.
The customer is not a good PC operator, so I would like to have him use the classic editor instead of using ALB for the blog posting screen.
So I want to place a second header in advance on the single post page of the blog.[av_custom_layout link=’page,123′ av_uid=’av-12345678′ sc_version=’1.0′]
I think this is the shortcode on each page, but I could not get this code to display properly in “single.php”.Is there any way I can do something about this?
Thank you in advance.September 14, 2024 at 5:31 pm #1466997Hey tl55,
Do you want to add the same “second header” at the top of each post, or a different “second header” at the top of each post?
I assume that this “second header” will be horizontal at the top and not in the vertical “Left Sidebar” where your header is now.
Please link to your site with admin login for better context, I don’t think that editing the “single.php” is the best approach, but we probably can offer a better solution once we examin.Best regards,
MikeSeptember 17, 2024 at 5:12 am #1467163Thanks for the reply.
Yes, I want to add the same “second header” to the top of each post.
I’ve tried a few things since then, and I’ve made the html code for the second header section into a shortcode with “code snipet” and embedded it once at the top of the single.php.
But this method seems to complicate things when I need to modify the second header.
All other pages have the content of the second header page loaded at the top of the page with “custom layout” in the “alb”.Thanks so much for your help, I really appreciate it.
September 19, 2024 at 4:31 pm #1467465Hi,
Thanks for the login, but I’m getting a “403 forbidden” error, are you blocking IPs? Please try allowing all IPs so we can login and examine.Best regards,
MikeSeptember 20, 2024 at 8:41 am #1467520Thank you for your reply.
And I’m so sorry you couldn’t access it.
I’ve just lifted the access block.
Can you log in?
I’m sorry if I got something wrong.
Thank you in advance.September 22, 2024 at 3:21 pm #1467612Hi,
Thanks for your patience, when I check your site which is https, I see that your WordPress ▸ Settings ▸ General ▸ Site Address & WordPress ▸ Settings ▸ General ▸ WordPress Address are both http, so you are getting a mixed content error:Mixed Content: The page was loaded over HTTPS, but requested an insecure image. This request has been blocked; the content must be served over HTTPS.
On your pages the image is loaded as https:
So to correct, first change WordPress ▸ Settings ▸ General ▸ Site Address & WordPress ▸ Settings ▸ General ▸ WordPress Address to https:
This should correct, if not try following this article to update the image URLs to https: How to Change Image URLs from HTTP to HTTPS in WordPress
I recommend making a backup of your site before using the “Better Search Replace” WordPress plugin in the article.Best regards,
MikeSeptember 24, 2024 at 3:35 am #1467701Hello.
Thank you for your reply.Sorry for the error.
I have just now converted the page to https.Thank you again and again for your help.
September 24, 2024 at 4:40 pm #1467745Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘How to use ALB’s “custom layout” in single.php’ is closed to new replies.