- January 7, 2020 at 7:26 pm #13798
Look at this page
http://thegolferinc.com/category/luxe/ [Puro Theme]
I was able to add a subtitle throught adding a custom field and code it to show on an archive page.
Now, I want to do similar on ULTRA masonry archive
I would like to add a subtitle
and get rid of the …
What file would I add the subtitle in?January 7, 2020 at 7:32 pm #13801
Please, keep in mind that changes shouldn’t be made to the parent theme as all files are overwritten during theme updates. If you’d like to edit the masonry layout you can create a folder in your child theme called
loopsand then make a copy of the
/loops/loop-masonry.php/file in the parent theme and copy it into the same location in the child theme.
To remove the excerpt ellipsis you’d need to insert the entire function shown here https://pastebin.com/raw/KaAKVNvr into your child theme functions.php file or add the function as a snippet using Code Snippets plugin and run the snippet on the site front end. Then change
$ellipsis = '...';to
$ellipsis = '';Please, keep in mind that we don’t cover custom development within our support scope but do our best to point you in the right direction.January 8, 2020 at 4:05 pm #13808
First, thanks about the child theme idea.
I was able to get a subtitle in easily, once you told me which file to use.
Here is the masonry archive displayed with subtitles.
I did not need the code – all I needed to know was which file to use.
Getting rid of the ellipsis is trickier as Code Snippet is not working.
I will see if functions.php is better.
Thanks!January 8, 2020 at 4:27 pm #13809
In Code Snippets have to set the function to run on the site front-end and is the function saved and activated? Have you edited the function to remove the ellipsis?January 8, 2020 at 8:42 pm #13811
I could not get the function to load even when on Code Snippets, or a Similar App
Security would not allow it.
I had to load in through FTP into functions.php on child theme.
HOWEVER, I wanted to get rid of any excerpt as well as …
So I just put the echo $excerpt in comment /**/’s so as to prevent any excerpt at all on the masonry blog. I did not even want the line spacing.
The customizer allows you to set excerpt to 0, but does not get rid of the carriage return spacing.
THANKS THIS THEME IS GREAT – PRECISELY BECAUSE I CAN TOY WITH IT.
Other themes are too horrendously complex.
You must be logged in to reply to this topic.