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

    https://www.dropbox.com/s/cd9mqqpg4062wtc/sample.jpg?dl=0

    #566493

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

    #568769

    Hello, I tried editing the files and it seems not to work? :/ or maybe I’m adding it wrong. Please help

    #568770

    Hello, I tried editing the files and it seems not to work? :/ or maybe I’m adding it wrong. Please help

    #569683

    Hey!

    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!
    Josue

    #587779

    Hello Ismael, i can’t seem to find where i can show all full content without the big image on top. please help

    #587805

    Hi,

    Can you please create us a WordPress administrator account? post it here as a private reply.

    Regards,
    Josue

    #587828

    Thank You!

    • This reply was modified 8 years, 8 months ago by Josue.
    #587868

    Hi!

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

    #587869

    YES!!!!! Thank you!!! you the man!!

    #587871

    Another quick question. does the magazine post adds recently added post correct?

    #587876

    Correct, you can set which Posts are fetched in the Magazine element settings (when you edit the Page).

    Cheers!
    Josue

    #588683

    Hello, How can i make the default blog as a magazine?

    #588840

    Hey!

    Set that Page as the Blog in Theme Options, and in Blog Layout – http://screencast.com/t/nQ0YnuxZm3

    Cheers!
    Josue

    #592707

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

    #592765

    Where’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!
    Josue

    #599576

    Hello 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

    #600014

    Try 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>";
    
    #600312

    It Worked! Also, how can i move/insert the “Add to Cart” Button inside the description?

    #600581

    Hi,

    Can you post the link to your website please?

    Regards,
    Josue

    #600591

    Sure..

    #600599

    Ok, and how do you want it to look? can you create a mockup?

    #600600

    Yeah! Here you go

    #600618

    Hey!

    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! 
    Josue

    #636205

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

    screenshot preview

    #637230

    Hi,

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

    #663908

    Thank you so much it worked only thing wrong is this… it has a border and its not next to the player. any ideas?
    Preview as Is

    I would like it to look like this..

    Thank you

    #663915

    Hey!

    Login credentials are not working for me. Can you please check them once again?
    Without login i cannot go to Genre page

    Cheers!
    Yigit

    #663917

    Sorry, here you go..

    username: admin2
    password: rpl123

    #663926

    Hey!

    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

Viewing 30 posts - 1 through 30 (of 36 total)
  • The topic ‘Magazine Customize’ is closed to new replies.