Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #964294

    Hi Support,

    Last year you kindly provided me with some support regarding some customisation to the Magazine Shortcode – https://kriesi.at/support/topic/magazine-content-element-2/. I thought I’d made this change at the Enfold Child level of my site but unfortunately it was at the Parent level and during a recent theme update, it wiped it out.

    I’ve been trying to following the previous instructions to set it back up, this time within the Child theme – also using other support articles, e.g. https://kriesi.at/support/topic/date-author-and-excerpt-in-magazine-element/#post-842342, but it’s not working.

    I currently have the following displayed in the Magazine Shortcode;

    DATE / BY AUTHOR
    POST TITLE

    I would really like the following (and had this working perfectly previously);

    DATE / BY AUTHOR
    Posted In CATEGORIES
    POST TITLE
    EXCERPT – perhaps character length of 60 (but would like to know how to change this)

    Could you please advise what changes I need to make to my child level magazine.php file?

    Please see private content for details of the site.

    Really appreciate your help,

    Sam

    #966774

    Hey sjwmobile,

    You would need to create a custom shortcode at the child theme and we can modify that after.
    have you worked on that?

    Best regards,
    Basilis

    #966917

    Thanks for getting back to me Basilis.

    I’m using a child theme, but haven’t created a custom shortcode – how would you do this? I didn’t need to use a custom shortcode before – it was just a few CSS changes and updates to the .php file.

    Really appreciate your help,

    Sam

    #967982
    #970885

    Thanks Yigit.

    Basilis / Yigit – can confirm I’ve added the code to my child functions.php file and created a copy of the magazine shortcode within a new directory on the child theme /shortcodes/

    Can you assist me with editing that to achieve the layout I enquired about in my original post please?

    Thanks,

    Sam

    #971829

    Hi,

    Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)

    Best regards,
    Basilis

    #971909

    Then why did you ask me to create a child version of the shortcode?

    You were able to help me before (without creating a child version of the shortcode) through CSS and some small .php customisation – see the links in my original post. What’s changed since then?

    If the approach with the child version of the shortcode is going to take too much time, can you help me like you did before please?

    Thanks,

    Sam

    #972572

    Hi,

    Sorry for the confusion. Please provide the WP and FTP access so that we can implement the modifications again in the child theme.

    Best regards,
    Ismael

    #972757

    Thanks Ismael – I really do appreciate your help.

    Details in Private Content.

    Sam

    #974071

    Hi,

    Thanks for the update.

    We’ve added the modification. Please hard refresh the page.

    Best regards,
    Ismael

    #974496

    Fantastic, thank you Ismael.

    Can you advise how I can adjust the number of characters shown in the excerpt?

    Thanks,

    Sam

    #974575

    Hi,

    You can use the “avf_magazine_excerpt_length” filter or just adjust the value directly in the child theme shortcode file.

    $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, '');
    

    Default value is 60.

    Best regards,
    Ismael

    #975043

    Awesome, thanks again Ismael! This was my 14th purchase of Enfold and I’ll no doubt be purchasing it again in the future!

    #975090

    Hi,

    Awesome! Thank you for using Enfold! :)

    Please take a moment to review our theme and show your support https://themeforest.net/downloads
    Don’t forget to bookmark Enfold Documentation for future reference.

    Best regards,
    Ismael

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Customising Magazine Shortcode’ is closed to new replies.