-
AuthorPosts
-
November 25, 2016 at 7:35 pm #717009
Hello!
I’ve installed the WP Subtitle plugin to have another field available under the titles of the blog posts.
I’d like that field to be displayed in the slide-meta (or at least under the title) of each article in the blog preview, where all articles are displayed.
Please see the photo attached!Thank you!
Kind regardsP.S.
I’m not using an enfold child theme, and I’d like not to use it for the moment beingNovember 28, 2016 at 4:57 pm #717885Hey!
Please go to enfold/config-templatebuilder/avia-shortcodes/postslider.php file and find
$meta .= "<time class='slide-meta-time updated' $markup>" .get_the_time(get_option('date_format'), $the_id)."</time>";
and add following right below it
$meta .= "<span class='subtitle-meta'>". the_subtitle() ."</span>";
Best regards,
Yigit- This reply was modified 7 years, 10 months ago by Yigit.
November 28, 2016 at 11:42 pm #718049Hi Yigit!
I tried to modify the php file but the subtitle doesn’t appear in a proper way…I create a new user so, if you want, you can check (I remove for now the code that you have suggested me).
Thank you so much for your help
Best regards
O.P.
November 29, 2016 at 1:33 am #718067It will be perfect if the subtitle appears under the post title…
THANK YOU!
Best Regards
Opificioilgranello
November 29, 2016 at 3:40 am #718077Hi!
Can you please post FTP logins here privately as well if you do not mind?
Best regards,
YigitNovember 29, 2016 at 10:26 am #718143Hi Yigit!
Of course, here you are!November 30, 2016 at 12:00 am #718582Hi Yigit!
Sorry if I bother you again:
I’ve installed the Advanced Custom Fields plugin, to have another field displaying the time reading just below the subtitle, do you think is possible to displayed this information too in the preview blog page (like the photo attached)?
And there’s a way to center the custom fields text, that I’ve created, with css;
in other words: how can I put an id or a class to this:echo get_post_meta( $the_id, ‘key’, true);
to controll him via css?
Thank very very much!!!Kind regards
opificio
November 30, 2016 at 2:39 am #718606Hey!
Please see private content field :)
Best regards,
Yigit- This reply was modified 7 years, 10 months ago by Yigit.
November 30, 2016 at 5:33 pm #718896Thank you Yigit!!!
You’ve done a really great work!!!
I never use a child theme before, I will work on it today and tomorrow,
I will to import all parent setting and hope everithing’s gonna be ok!Kind regards!
Opificio- This reply was modified 7 years, 10 months ago by opificioilgranello.
November 30, 2016 at 5:35 pm #718898 -
AuthorPosts
- The topic ‘WP Subtitle displayed in the blog preview’ is closed to new replies.