Forum Replies Created
-
AuthorPosts
-
November 21, 2014 at 11:34 am in reply to: Enfold not working with WP 4.0, can I get updated theme for free? #355018
Hi, thanks for the reply. Which site am I suppose to go to? The version on ThemeForest doesnt seem to be the latest…
June 12, 2013 at 3:56 pm in reply to: I really like the grid blog style, is there a easy way to allow it to load more? #123615Thanks for the quick responses. I dont know why my short codes arent working for that… but I found this line
$atts = array(‘type’ => ‘grid’, ‘items’ => get_option(‘posts_per_page’), ‘columns’=> 3, ‘class’=>’avia-builder-el-no-sibling’, ‘paginate’=>’yes’, ‘items’=>100);
and if I add ‘items’=>100 that worked for me!
June 12, 2013 at 4:01 am in reply to: I really like the grid blog style, is there a easy way to allow it to load more? #123613You know I actually had to hack it by putting the grid style blog CODE on my front page to make it work right. Can you tell me which function the post number value you have pointed above is in so I can do a search and manually put the number in please? Would super appreciate it!!
June 11, 2013 at 4:34 pm in reply to: I really like the grid blog style, is there a easy way to allow it to load more? #123611Thanks, how did you get to that page?
So that works for me…. now layer slider is on top working properly. my page edits via advance editor works and places whatever I putin there on topl.. then finally the pasted index.php code I brought over is loaded last right above the footer, then the footer itself.
This resolves my problem of utilizing the nice blog grid style feature from this theme into the homepage along with the layer slider and some page features.
Only disadvantage now is if I wanted to add something AFTER the index.php blog thing, Im not able to do it via the page editor since it loads it all on top. I might be able to figure it out but luckily this is exaclty the design for my needs so Im good.
Hope this solution helps! If someone knows a more cleaner solution, Id still be interested! :)
Ok that piece of code has to be hacked into “template-builder.php”, it will drop the blog content style on your page… and it will work with the layer slider. the page will be a bit funky, it looks like youll have to code a lot of the page instead of using page editor which sucks but for my needs it may work ok
Ok so I think I am on to something… this piece of code, displays the blog enfold grid style the wya I like it, its found in index.php.
But the catch is, right now if you display that nice blog style, you dont get to use the page function in wordpress to add anything to top or below it, so cant add layerslider, cant add text nothing. its just a flat display of blogs….
When I copy this code on to other files, like page.php, it actually displays the blog piece like I want…
So Im trying to now figure out how to put this on my ABOUT page, which I have looking all nice and pretty… I tried adding it to page.php but it didnt work, my about page must be coming from somewhere else. Trying to figure out where… the code is
<div class=’container_wrap main_color <?php avia_layout_class( ‘main’ ); ?>’>
<div class=’container template-blog ‘>
<div class=’content <?php avia_layout_class( ‘content’ ); ?> units’>
<?php
if(avia_get_option(‘blog_style’,’multi-big’) == ‘blog-grid’)
{
$atts = array(‘type’ => ‘grid’, ‘items’ => get_option(‘posts_per_page’), ‘columns’=> 3, ‘class’=>’avia-builder-el-no-sibling’, ‘paginate’=>’yes’);
$blog = new avia_post_slider($atts);
$blog->query_entries();
echo “<div class=’entry-content’>”.$blog->html().”</div>”;
}
else
{
/* Run the loop to output the posts.
* If you want to overload this in a child theme then include a file
* called loop-index.php and that will be used instead.
*/
$more = 0;
get_template_part( ‘includes/loop’, ‘index’ );
}
?>
<!–end content–>
</div>
<?php
wp_reset_query();
//get the sidebar
$avia_config = ‘blog’;
if(is_front_page()) $avia_config = “frontpage”;
get_sidebar();
?>
</div><!–end container–>
So when I tried that, the page doesnt respond to anything I put in the editor. It simply displays the blog grid style.
It under the ENFOLD option, whatever you set the page for “And where do you want to display the Blog?”, that page becomes the blog and nothing else. You cant add anything else on that page thru the editor… anyone know how to add to it?
Hi thanks for the reply.
Yes, if I just add blog post like that it works fine. What Im trying to add is the Enfold grid style blogs. So in the admin, I click ENFOLD, then where it says “Where do you want the display the blog”, I select the same page (i.e. ABOUT) and I get that error.
So if my “FrontPage setting” is ABOUT page, and I also want to “Display the blog” on ABOUT, I get that error.
Fatal error: Call to undefined function layerslider_init() in /usr/home/codemaster/public_html/hardrule.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider.php on line 119
Would appreciate any help!
Actually let me clarify.
Say I have a page called ABOUT. On the left, under ENFOLD tab, I can set that as my homepage. Great! Then I add the layer slider via the advanced them editor. Works great. But then say I go to the ENFOLD tab, and also want the blogs to display on the ABOUT page (so my blogs are on the homepage), I get an error that says
Fatal error: Call to undefined function layerslider_init() in /usr/home/codemaster/public_html/hardrule.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_layerslider.php on line 119
YES, THANK YOU SO MUCH…. LIFE SAVER!!!!!!!!
-
AuthorPosts