Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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.

    #1466997

    Hey 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,
    Mike

    #1467163

    Thanks 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.

    #1467465

    Hi,
    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,
    Mike

    #1467520

    Thank 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.

    #1467612

    Hi,
    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.

    Screen Shot 2024 09 22 at 9.01.58 AM
    On your pages the image is loaded as https:
    Screen Shot 2024 09 22 at 9.03.50 AM
    So to correct, first change WordPress ▸ Settings ▸ General ▸ Site Address & WordPress ▸ Settings ▸ General ▸ WordPress Address to https:
    Screen Shot 2024 09 22 at 9.05.47 AM
    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,
    Mike

    #1467701

    Hello.
    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.

    #1467745

    Hi,
    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

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘How to use ALB’s “custom layout” in single.php’ is closed to new replies.