- This topic has 24 replies, 6 voices, and was last updated 5 years ago by David.
-
AuthorPosts
-
January 15, 2017 at 5:30 pm #264409Stephanie
I would like to add subtitles below the titles of my blog posts, and edit them to ensure appropriate font style/size/weight. There does not seem to be a way to do this using my GP Premium theme. Is that right?
I have tried three plugins for adding subtitles:
– Two did not work at all, as nothing was displayed;
– The third displayed the subtitles but in an inappropriate font size/weight, and it corrupted the display of post summaries.Is there a way to do this that’s simple and compatible with SEO plugins such as Yoast? I miss having subtitles.
[This is my (fledgling) blog in question: http://shrinkwrap.blog ]
Thanks π
January 15, 2017 at 5:49 pm #264410LeoStaffCustomer SupportHi Stephanie,
Someone suggested this plugin: https://en-ca.wordpress.org/plugins/subtitles/
Is this one of the three you tried? Keep in mind that we can help you style the subtitle with some CSS.If you did then take a look at topic: https://generatepress.com/forums/topic/adding-subtitle-to-blog-page/
Let me know if this is helpful
January 15, 2017 at 6:12 pm #264417StephanieYes, I think ‘Subtitle’ was the one that sort of worked but didn’t look right and corrupted the display of post summaries on the Home page.
Thanks for the topic link. Sounds a bit complicated – more effort than return for an amateur like me.
I think it might be better for me to wait for subtitles to be included in a GP Premium update. Is that on the cards?
Thanks Leo.
January 15, 2017 at 6:29 pm #264419LeoStaffCustomer SupportAre you able to link me to the page where Subtitles corrupted the display of post summaries?
I just tried the plugin and it seems to work well without any obvious bugs and I can style it easily with some CSS.
I also don’t see people mentioning that problem in the plugin support forum..
Let me know.
January 15, 2017 at 7:12 pm #264421StephanieAs mentioned, it was the Home page. That’s the main page that displays post summaries. I didn’t check the category pages, but imagine they would be the same.
I removed the plugin because I could not leave it looking like that…
– The title and subtitle were each displayed three times
– Some HTML code was showing
– The image and text positioning were distortedJanuary 15, 2017 at 7:29 pm #264423LeoStaffCustomer SupportOk well there is definitely something going on there as I didn’t encounter any of those problems when I tried it.
Perhaps conflict with other plugins? Make sure you don’t have all three subtitles plugins activated at the same time when you test.
A simple subtitle plugin shouldn’t create this much chaos I don’think…Also Jean’s method shouldn’t be that difficult either.
Anyways I will ask Tom to consider this feature for the future.
January 15, 2017 at 7:33 pm #264424StephanieThanks Leo, that would be good.
(I might post screen shots later, so you can see…)
January 15, 2017 at 9:17 pm #264432LyleStephanie, Leo,
Here is one way to do it with just CSS. Mind you, it’s a “manual” operation as CSS will have to be inserted and edited for each post, but with Tom’s handy, dandy Simple CSS plugin, it’s “easy” π
– in GP Hooks, add this empty div into the After Entry Title area and Save Hooks
<div class="mysubtitle"></div>
– then in the Simple CSS meta box in the post, add this CSS:
.mysubtitle:before { content: "This is post subtitle"; }
That’s it π Note that you can style the subtitle in the Simple CSS editor so that it applies to all of the subtitles, e.g:
.mysubtitle { font-size: 24px; color: blue; }
Not quite as handy as a plugin, just have to keep that post CSS handy and edit accordingly when you create (or edit) a post π
Cheers!
LyleJanuary 16, 2017 at 4:58 am #264508StephanieOoh, thanks Lyle. So many fun options π
January 22, 2017 at 9:25 pm #266936StephanieHi Lyle
When I use your code (thanks again for that) it positions the subtitles below the post-date+author information, rather than below the title itself, on post pages like this one: https://shrinkwrap.blog/psychology-blog/ (I’ve deleted it; please imagine the subtitle just above the photo.)
How can I fix that please?
Also, in an ideal world I’d also like to have the subtitles, in an appropriately smaller font, show up in the post summaries on the home page, here: https://shrinkwrap.blog/
Is that doable?
Thanks π
January 23, 2017 at 10:30 am #267148LyleHi Stephanie,
I’m a bit confused (doesn’t take much π ).
“please imagine the subtitle just above the photo.)” But that would make it the way it is now, wouldn’t it?
Title
Post Meta
Sub Title
Photo/Post… or, do you want it:
Title
Sub Title
Post Meta
Photo/PostAs for in the posts listing, that I’m not sure of … would be one for Tom or Leo π
Cheers!
LyleJanuary 23, 2017 at 6:54 pm #267318StephanieHi Lyle
Yes, what I’m after is the second one:
Title
Sub Title
Post Meta
Photo/Postπ
January 23, 2017 at 7:10 pm #267320LyleStephanie,
That’s what I was afraid of π
Looks like one for Tom/Leo as that will take some PHP wrangling. I had a look through the second link that Leo had posted to your OP, but the contents of that file must have changed since Jean wrote the post and I could not figure out where to put what π
Cheers!
LyleJanuary 23, 2017 at 8:03 pm #267334LeoStaffCustomer SupportHi Stephanie,
Are you using any special plugin for displaying blog posts?
If not then I would recommend giving the plugin “Subtitles” another shot as I just tested again, it works perfectly with GP’s default settings and we can style it easily.I made sure that activate the plugin does not effect the existing posts and added subtitle on a test post. It displays well in both single post and main blog page.
If you are still seeing some bugs, can you provide a screenshot?
Let us know.
February 6, 2017 at 9:45 pm #275355StephanieHi Leo
I’ve re-tested the Subtitles plug-in. Same outcome. Yes, I am using an excerpt plug-in Rich Text Excerpts, though from the below code I don’t see any obvious relationship.
What do you think? The HTML here is clearly broken. The Subtitles code is being inserted within the featured image somehow:
This is the code:
[IMG]http://i732.photobucket.com/albums/ww325/finchesca/Subtitles%20broken%20HTML_zpsatazzcx1.png[/IMG]
This is the result:
[IMG]http://i732.photobucket.com/albums/ww325/finchesca/Subtitles%20distortion%20of%20excerpt_zpstxpfpubu.png[/IMG]
To see how it ought to look (Subtitles deactivated) see the bottom of this page: https://shrinkwrap.blog
I know I should now be talking to the Subtitles developers, but I’m very interested in your views. It’s odd that you are not seeing the same thing. What do you make of that?
Thanks π
EDIT after posting: Oh, right. The forum shrinks images to an unreadable size. What to do?
-
AuthorPosts
- You must be logged in to reply to this topic.