Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #461771

    I’ve seen posts on similar topics, but none that quite match. I’m using Enfold v3.2. In theme options / blog layout / blog style, I’ve selected use the ALE.
    Blog Layout, Blog Style

    In general options / where do you want to display the Blog, I then selected the page that I created on which I wanted to base all future posts.
    Where to display blog

    However when a new post is created, the Online-Courses page is not used as the template. Am I misunderstanding how this works?

    • This topic was modified 9 years, 1 month ago by scotthco.

    Hey scotthco!

    Please make sure that you have only set frontpage and blog page in Enfold theme options, you should not set it in Settings > Reading.



    Hi Yigit!

    I already has it set as you suggest. Maybe I did misunderstand how it’s supposed to work. When I go to the page I created, it does display the list of posts, which is good. However I thought what I was doing in the procedure above was creating a new template upon which all future posts would be based, but that’s not the case, is it? The first part above just allows the use of the ALE for posts in addition to just pages, and the second part just designates the page on which the list of blog posts is displayed, right?

    Ok, so is there a way within WordPress and Enfold that I can create a template upon which all future posts would be based, hopefully including any posts by third party plugins? Or will I need to modify some template files? I certainly can modify files if I have to. I just thought it would be quicker and easier if there was a way to do it from within the program.



    I got this one. Finally found several other posts about what I actually was looking for, getting the advanced editor to work with LearnDash custom post types. Some earlier code I found added the ALE to the LearnDash CPTs, but removed it from the existing post types. Putting the following code from the bottom of this post in my child theme’s functions.php file kept the existing ALE configuration and added it to LearnDash CPTs.

    Thanks Everyone!

     * Add Advanced Layout Editor to LearnDash Custom Post Types
    //Add meta boxes to custom post types
    add_filter('avf_builder_boxes', 'avia_register_meta_boxes', 10, 1); 
    function avia_register_meta_boxes($boxes)
        foreach($boxes as $key => $box)
          $boxes[$key]['page'][] = 'sfwd-courses';
          $boxes[$key]['page'][] = 'sfwd-lessons';
          $boxes[$key]['page'][] = 'sfwd-topic';
          $boxes[$key]['page'][] = 'sfwd-quiz';
      return $boxes;
    • This reply was modified 9 years, 1 month ago by scotthco. Reason: Corrected "sfwd-topics" to "sfwd-topic"


    Great, glad you got it fixed and thanks for sharing the solution :)



    Thank you scotthco – was in need of this!!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Blog Layout Using ALE’ is closed to new replies.