Forum Replies Created
-
AuthorPosts
-
November 6, 2020 at 6:31 am in reply to: Header and Body Scripts fields on the Blog Page issue #501806StelaParticipant
Hi Anita,
Oh, I see.
Thank you for your help :)!November 6, 2020 at 5:39 am in reply to: Header and Body Scripts fields on the Blog Page issue #501803StelaParticipantI want to add this script on the Blog page (for Pinterest PinIt icon on images.)
<script async defer data-pin-hover="true" data-pin-tall="true" src="//assets.pinterest.com/js/pinit.js"></script>
It works on any other page but the Blog posts (default) page
July 18, 2020 at 5:32 am in reply to: New blog page template to override the default blog template? #500171StelaParticipantPerfect!!! It is working now.
Thank you so so much, Brad 🙂
For documentation, in case someone need it, in Brad's code above, I replaced
is_singular('page')
withis_home('page') || is_archive('page')
, so the new custom blog template is applied to all blog type pages.July 17, 2020 at 8:34 am in reply to: New blog page template to override the default blog template? #500153StelaParticipantOk, i created new page and assigned my new blog template
page_blog.php
for it (in Page Attribute Template dropdown).
However, once i set this page in Reading settings as 'Posts page', it turns back using the the default blog template at the front-end.Does this mean that i can not have a blog template for my customizations and have to use functions.php for all the modifications?
...or I am doing something not correct?
July 17, 2020 at 4:35 am in reply to: New blog page template to override the default blog template? #500149StelaParticipantHi Brad,
Thank you for the reply but this is not the solution for me.
I would like to assign new templatepage_blog.php
to the default Blog page and add my customizations there.Is there a way to this?
I am following the instructions from here:
https://my.studiopress.com/documentation/snippets/miscellaneous/show-content-above-posts-on-blog-page/however the default Blog page doesn't take the new template
page_blog.php
(even if i select -Blog- from the Template dropdown in the Page Attributes meta box)July 4, 2020 at 1:35 pm in reply to: How can I add custom .css file and .js file to my theme ? #499953StelaParticipantHi Brad,
Thank you for your help!June 28, 2020 at 2:09 am in reply to: Moving post title below featured image/above post content – Breakthrough Theme #499623StelaParticipantThis is very helpful! Thank you
Is there a way to add this reposition option in the Content Archive Settings in the Customizer so the user can choose from?StelaParticipant... and also where to set the number of posts per page, that i would like to be shown?
Thank you!StelaParticipantThank you Anita, for your answer!
However this does not look very user friendly.
Is there a way to restore the old way of selecting the settings? -
AuthorPosts