-
AuthorPosts
-
May 30, 2018 at 3:04 pm #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 TITLEI 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
June 4, 2018 at 8:24 pm #966774Hey 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,
BasilisJune 5, 2018 at 12:14 am #966917Thanks 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
June 6, 2018 at 6:01 pm #967982Hi,
Please refer to this post – https://kriesi.at/documentation/enfold/intro-to-advanced-layout-builder/#add-elements-to-alb
Best regards,
YigitJune 10, 2018 at 10:13 pm #970885Thanks 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
June 12, 2018 at 8:51 pm #971829Hi,
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,
BasilisJune 12, 2018 at 10:01 pm #971909Then 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
June 14, 2018 at 2:52 am #972572Hi,
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,
IsmaelJune 14, 2018 at 10:30 am #972757Thanks Ismael – I really do appreciate your help.
Details in Private Content.
Sam
June 18, 2018 at 4:05 am #974071Hi,
Thanks for the update.
We’ve added the modification. Please hard refresh the page.
Best regards,
IsmaelJune 18, 2018 at 10:25 pm #974496Fantastic, thank you Ismael.
Can you advise how I can adjust the number of characters shown in the excerpt?
Thanks,
Sam
June 19, 2018 at 2:30 am #974575Hi,
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,
IsmaelJune 20, 2018 at 1:23 am #975043Awesome, thanks again Ismael! This was my 14th purchase of Enfold and I’ll no doubt be purchasing it again in the future!
June 20, 2018 at 5:46 am #975090Hi,
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 -
AuthorPosts
- The topic ‘Customising Magazine Shortcode’ is closed to new replies.