-
AuthorPosts
-
January 15, 2016 at 12:50 pm #566076
Hello, is there a way you can edit the magazine layout? i want to show the content of the post. I love the way is formatted so just to have some content showing will be nice or especially an audio players. Thanks!
Heres a preview of how i want this to look (i photoshopped this)
January 16, 2016 at 8:37 am #566493Hey Manuel!
Thank you for using Enfold.
Yes, this is possible but you have to modify the config-templatebuilder > avia-shortcodes > magazine.php file directly. There are a few threads with the same issue. You can try the solution provided on the following link:
https://kriesi.at/support/topic/magazin-element-visible-extract/
https://kriesi.at/support/topic/parent-and-child-functions-php-no-longer-responding-after-update/
https://kriesi.at/support/topic/show-excerpt-in-all-magazine-blog-list/Regards,
IsmaelJanuary 20, 2016 at 5:35 pm #568769Hello, I tried editing the files and it seems not to work? :/ or maybe I’m adding it wrong. Please help
January 20, 2016 at 5:36 pm #568770Hello, I tried editing the files and it seems not to work? :/ or maybe I’m adding it wrong. Please help
January 22, 2016 at 2:23 am #569683Hey!
Try changing line 566:
$excerpt = !empty($entry->post_excerpt) ? $entry->post_excerpt : avia_backend_truncate($entry->post_content, apply_filters( 'avf_magazine_excerpt_length' , 60) , apply_filters( 'avf_magazine_excerpt_delimiter' , " "), "…", true, '');
To:
$excerpt = get_the_content($entry->ID);
Cheers!
JosueFebruary 23, 2016 at 4:26 pm #587779Hello Ismael, i can’t seem to find where i can show all full content without the big image on top. please help
February 23, 2016 at 5:11 pm #587805Hi,
Can you please create us a WordPress administrator account? post it here as a private reply.
Regards,
JosueFebruary 23, 2016 at 5:34 pm #587828Thank You!
- This reply was modified 8 years, 8 months ago by Josue.
February 23, 2016 at 6:19 pm #587868Hi!
Check it now, i modified line 587 (/enfold/config-templatebuilder/avia-shortcodes/magazine.php) from:
if($excerpt)$output .= "<div class='av-magazine-content entry-content' {$markupContent}>{$excerpt}</div>";
To:
$output .= "<div class='av-magazine-content entry-content' {$markupContent}>".get_post_field('post_content', $entry->ID)."</div>";
Regards,
JosueFebruary 23, 2016 at 6:21 pm #587869YES!!!!! Thank you!!! you the man!!
February 23, 2016 at 6:26 pm #587871Another quick question. does the magazine post adds recently added post correct?
February 23, 2016 at 6:31 pm #587876Correct, you can set which Posts are fetched in the Magazine element settings (when you edit the Page).
Cheers!
JosueFebruary 24, 2016 at 11:05 pm #588683Hello, How can i make the default blog as a magazine?
February 25, 2016 at 9:55 am #588840Hey!
Set that Page as the Blog in Theme Options, and in Blog Layout – http://screencast.com/t/nQ0YnuxZm3
Cheers!
JosueMarch 3, 2016 at 4:58 pm #592707Hello Josue, I tried using the magazine for woo commerce products but it only shows the shortcode not the embed player. You know what this can be? look .. http://recordpoollatino.com/
Thank you for all your help!
March 3, 2016 at 6:23 pm #592765Where’s the magazine? try changing the line to:
$output .= "<div class='av-magazine-content entry-content' {$markupContent}>".do_shortcode(get_post_field('post_content', $entry->ID))."</div>";
Cheers!
JosueMarch 17, 2016 at 1:34 pm #599576Hello Josue,
Thank you so much for all the help with this issue and so far you been really good. i wanted to use the magazine for my woo commerce products is there a way i can add the add to cart button on the magazine? Thanks in advance
March 18, 2016 at 12:49 am #600014Try changing the line to:
$output .= "<div class='av-magazine-content entry-content' {$markupContent}>".do_shortcode(get_post_field('post_content', $entry->ID)).do_shortcode('[add_to_cart id="'.$entry->ID.'"]')."</div>";
March 18, 2016 at 3:13 pm #600312It Worked! Also, how can i move/insert the “Add to Cart” Button inside the description?
March 18, 2016 at 11:48 pm #600581Hi,
Can you post the link to your website please?
Regards,
JosueMarch 19, 2016 at 12:07 am #600591Sure..
March 19, 2016 at 1:27 am #600599Ok, and how do you want it to look? can you create a mockup?
March 19, 2016 at 1:37 am #600600Yeah! Here you go
March 19, 2016 at 3:40 am #600618Hey!
Try adding this code to the Quick CSS:
#top .av-magazine p.product.woocommerce.add_to_cart_inline { border: 0 !important; padding: 0 !important; display: inline-block; } #top .av-magazine .av-magazine-content.entry-content { margin-bottom: 10px; }
Cheers!
JosueMay 21, 2016 at 3:08 pm #636205Hello Josue, i want to add the add to cart on the blog post. i added the products under the blog post avia layout builder. heres a preview of what i get just need the add to cart button inserted there. the way you did it in the magazine. Thanks in advance.
May 24, 2016 at 4:36 am #637230Hi,
Edit includes > loop-index.php file, look for this code around line 152:
$content_output = ' <div class="entry-content" '.avia_markup_helper(array('context' => 'entry_content','echo'=>false)).'>'; $content_output .= $content; $content_output .= '</div> ';
.. replace it with:
$content_output = ' <div class="entry-content" '.avia_markup_helper(array('context' => 'entry_content','echo'=>false)).'>'; $content_output .= $content; $content_output .= do_shortcode('[add_to_cart id="'.$the_id.'"]'); $content_output .= '</div> ';
Best regards,
IsmaelJuly 22, 2016 at 3:10 pm #663908Thank you so much it worked only thing wrong is this… it has a border and its not next to the player. any ideas?
I would like it to look like this..
Thank you
July 22, 2016 at 3:20 pm #663915Hey!
Login credentials are not working for me. Can you please check them once again?
Without login i cannot go to Genre pageCheers!
YigitJuly 22, 2016 at 3:23 pm #663917Sorry, here you go..
username: admin2
password: rpl123July 22, 2016 at 3:31 pm #663926Hey!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.sc_player_container1 { float: left; margin-top: 15px; } .sc_player_container1 + p.product.woocommerce.add_to_cart_inline { border: none!important; width: auto; float: left; }
Regards,
Yigit -
AuthorPosts
- The topic ‘Magazine Customize’ is closed to new replies.