Community Forums › Forums › Archived Forums › General Discussion › Favorite Post Category vs Widget: Need Title on Both
- This topic has 10 replies, 2 voices, and was last updated 9 years, 10 months ago by
jrotem.
-
AuthorPosts
-
June 17, 2015 at 2:40 pm #156571
jrotem
Participant1. I'm using Executive Pro, and I was puzzling over why I couldn't get the category page title to show up until I realized that the built-in Favorite posts widgets (using it on both sidebar and Home Middle) does not have the same URL as the category link. I'd really like for the display of Favorite Posts via widget to display the page title as well. How can I do this?
I have added the preferred title in the category edit admin, as well as using Bill Erikson's code but these seem to only apply to /category/favorite/ page and didn't work on the /favorite-posts/ page.
The pages in question are
http://new.darrylepollack.com/category/favorite/
vs2. I'm wondering why the Favorite Posts sidebar widget list appears different from other lists (ie, Recent Posts, etc., Blog Topics); is there a way to display it in the sidebar so it matches the other lists ? I wonder why the Favorite Posts widget has such different styling from the others.
Thank you.
Thank you!
“It’s always something.” — Rosanne Roseannadanna
June 17, 2015 at 8:24 pm #156617jrotem
ParticipantOK, I see now that the difference is that /favorite-posts/ is a page generated from the "Featured Page" widget and not the "Featured Posts" widget. (d'oh.)
But I'm back at the beginning -- the page itself does have a title on the back end, so I'm still left wondering why the title does not display on the page.
“It’s always something.” — Rosanne Roseannadanna
June 18, 2015 at 10:36 pm #156745jrotem
ParticipantAnyone?
Bueller?
“It’s always something.” — Rosanne Roseannadanna
June 19, 2015 at 10:08 pm #156889Christoph
MemberHi,
you have me utterly confused on what your question is.
We know that the Bill's category code works as intended because the page/category title is showing.
Where is the favorite-posts page coming from?
/favorite-posts/ is a page generated from the “Featured Page” widget
Does not make sense.
The featured page widget does not generate pages. It shows a selected page in a widget area.Did you set it up to use the blog template?
I believe you figured your second question out.
June 20, 2015 at 1:00 am #156905jrotem
ParticipantThank you, Christophe.
The featured page widget does not generate pages. It shows a selected page in a widget area.
You are correct. I did not realize that (or rather, had forgotten that I had created one way back.)
I did manage to fix part of the problem with the Genesis Sandbox Featured Content Widget.
However, the Page title still does not display: http://new.darrylepollack.com/favorite-posts/
“It’s always something.” — Rosanne Roseannadanna
June 20, 2015 at 7:59 am #156915Christoph
MemberThanks!
That makes more sense. 🙂You can try this tutorial:
http://aucoeurdesign.com/genesis-blog-template-page-title/
June 20, 2015 at 7:29 pm #156958jrotem
ParticipantThank you again. Alas, that code did display the title (yay) but also displayed right under the title the social share plugin (boo.) Would you have any idea how to adjust the code on that tutorial so that only the title shows ?
“It’s always something.” — Rosanne Roseannadanna
June 20, 2015 at 9:47 pm #156964Christoph
MemberHi,
I´m not sure if that´s what you want, but you can disable the Social Share plugin for archives on the settings page.
Genesis - Simple Share - Enable onAlternatively, find out the page id or define a custom body class in the editor and hide the social share icons on that specific page. (The custom body class can be set in the Layout Settings of the WordPress Editor).
.page-id-*** .share-before { display: none; }
Or
(the .custom-body-class you have chosen) .share-before { disaply: none; }
June 21, 2015 at 5:09 am #156976jrotem
ParticipantActually I am using a different social share plugin that allows more customization, but I wasn't sure where to put the page id code above (or if share-before would be correct with the different plugin.) I will look up how to define a custom body class.
Thank you again.
“It’s always something.” — Rosanne Roseannadanna
June 21, 2015 at 4:57 pm #157057Christoph
MemberSorry about that. It's not the correct code for your share plugin.
From the sharing buttons on the blog page use this css class:
.ssba { display: none; }
Just add page-id or the custom body class in front of it.
June 21, 2015 at 10:58 pm #157099jrotem
ParticipantThank you! Thank you!
I added it to the stylesheet and it works.
I had previously tried adding it to the custom css file and it didn't work. Should have tried the regular stylesheet from the beginning.
“It’s always something.” — Rosanne Roseannadanna
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.