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

    Hallo zusammen,

    ich hoffe, es ist okay, wenn ich in deutsch schreibe.
    Ich habe für meine Blogartikel das Element MASONRY gewählt.
    Wie kann ich hier auf den Vorschaublogbildern einen Text mit “MEHR LESSEN” erstellen?

    Vielen Dank und viele Grüße
    Melanie

    #1352147

    Hey Melanie,

    Thank you for the inquiry.

    Please check the filter that @Mike provided in the following thread.

    // https://kriesi.at/support/topic/add-button-to-the-masonry-post/#post-1311784

    The filter should append a read more text to the masonry content.

    Best regards,
    Ismael

    #1352151

    Hallo Ismael,

    das funktioniert leider nicht. Ich habe es eingefügt und es hat sich nichts verändert.
    Muss der Filter an eine bestimmte Stelle in der functions.php? Ich habe es einfach unten angefügt.
    Gibt es noch andere Ideen?

    LG
    Melanie

    #1352237

    Hi,

    Did you enable the masonry excerpt? The filter above will only work when excerpt is enabled.

    If you need the read more text inside the masonry image, try to edit the enfold/config-templatebuilder/avia-shortcode-helpers/class-avia-masonry.php file and look for this code around line 650.

    					$bg  = '<div class="av-masonry-outerimage-container">';
    					$bg .=		$img_before;
    					$bg .=		"<div class='av-masonry-image-container' {$img_style} {$outer_title} {$outer_alt}>";
    					$bg .=			$img_html;
    					$bg .=		'</div>';
    					$bg .= '</div>';
    

    You can place the read more text after this line.

    $bg .=			$img_html;
    

    Best regards,
    Ismael

    #1352245

    Hi Ismael,

    es hat funktioniert! Tausend Dank!

    Melanie

    #1352267

    Hi,

    Glad to know that this modification is working. We will close this thread for now Please feel free to open another if you have more questions about the theme.

    Have a nice day.

    Best regards,
    Ismael

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