Community Forums › Forums › Archived Forums › Design Tips and Tricks › Need Custom Hook Box for "site-tagline" Minimum Pro
Tagged: minimum pro, site tagline, widget area
- This topic has 10 replies, 3 voices, and was last updated 10 years, 6 months ago by DocEastin.
-
AuthorPosts
-
June 7, 2014 at 9:50 pm #108486DocEastinMember
Warning, non-coder alert! I'm using Minimum Pro. I am trying to set up a custom hook box for class ="site-tagline" but no such creature exists. Is there a work around or a way to make a hook for site_tagline?
June 8, 2014 at 9:54 am #108527Brad DaltonParticipantJune 8, 2014 at 10:52 am #108533DocEastinMemberThanks BradDalton!
Specifically, I am using genesis extender to create custom widgets and custom hook boxes. I am wanting to hook a widget to .site-tagline, but there isn't an existing genesis hook for .site-tagline. There are genesis_site_title and genesis_site_description, but no genesis_site_tagline. I'm wondering if there is a way to create a new genesis hook or some other work-around that would solve this problem.
Hope that makes sense. Thanks again.
June 8, 2014 at 1:16 pm #108544Brad DaltonParticipantThe tagline is the description so use that hook.
You can add a 3rd parameter as well.
Or you can use this filter:
genesis_seo_description
Code Examples http://wpsites.net/web-design/remove-genesis-site-description-conditionally/
June 8, 2014 at 2:14 pm #108546DocEastinMemberThanks again Brad. This is a bit over my head right now. I'll study some more and maybe have to hire it out if I can't wrap my head around the concept. I really appreciate your reply.
June 8, 2014 at 9:20 pm #108560DocEastinMemberHey Brad,
I re-read your last post and hope to clarify your answer. When you say:
The tagline is the description so use that hook.
the .site-description hook is for the text element in the tagline area, not the entire area itself. What I am trying to do is replace the entire tagline area with a new hooked widget. Sorry for the confusion.
June 8, 2014 at 10:15 pm #108561TomParticipant@DocEastin: I'm interested in the use of Minimum because the structure is very different to most themes - so I've got a couple questions on your intended addition of a widget area:
What are you doing with
<div class="site-tagline-right">
? The tagline text can be eliminated and site-tagline-right repurposed to full-width if necessary to accommodate what-have-you."What-have-you?" - What's intended for a "site-tagline" widget area? Will it be fixed text? an image? social icons? enews/or other subscruption widget? etc.?
The site-tagline section also holds a background image on the home page. How does this play into your design?
Have you looked at a number of tutorials that are available for customizing Minimum Pro? Your answer may lie here:
"How to replace Tagline section with a Widget Area only on homepage in Minimum Pro". Also have a look at Sridhar's many tutorials for Minimum in the archive for "minimum-pro".Brad has also written something that might be exactly what you are looking for:
Replace Minimum Pro Tagline With Widget Areas, and has a similar archive. Search his site for "minimum pro".Let us know how you make out with these or if you need more help.
Choose your next site design from over 350 Genesis themes.
[ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]June 9, 2014 at 6:27 am #108583Brad DaltonParticipantJune 9, 2014 at 8:45 am #108613DocEastinMember@Tom and @BradDalton, thanks for your reply and the resources. Both Brad's and Sridhar's tutorials are awesome but not quite what I was trying to do. I am playing around with the genesis extender plugin and was hoping to completely replace the entire .site-tagline with a widget hooked to genesis_after_header. The problem was the hook site_tagline doesn't exist so I would have had to create a new and that's beyond my skill level.
I did figure a non-coders work around. I just set the
.site-tagline { margin: -80px 0px 0px 0px;}
and was able to hide the tagline area. Then I used extender to create a new widget hooked to genesis_under_header. Not very sophisticated but it worked!Thanks again. I appreciate your reply
June 9, 2014 at 10:13 am #108622Brad DaltonParticipantJune 9, 2014 at 10:17 am #108623DocEastinMemberThanks @BradDalton! You've been very helpful.
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.