Home › Forums › Weaver Xtreme Theme › Weaver Xtreme 5 and Child Themes
- This topic has 32 replies, 6 voices, and was last updated 1 year, 2 months ago by
kdawson.
-
AuthorPosts
-
January 6, 2022 at 03:18 UTC - Views: 57 #70197January 6, 2022 at 23:58 UTC - Views: 57 #70205
Weaver
KeymasterThe file organization for a child theme is not different from V4 to V5. The parent theme is Weaver Xtreme as defined in the /themes/weaver-xtreme directory. The child’s functions.php is run first, then the theme’s.
I did notice the code you posted for the V5 version is missing the final } in the code.
January 7, 2022 at 00:41 UTC - Views: 53 #70207hkp
ParticipantThanks for looking. Much appreciated!
I added back the final } and then reinstalled the old version totally, but still none of the Comment Box phps work. Perhaps the core WP has changed too in the meantime.
Looks like its now time to abandon the Child and seek plugins, as it is far beyond my ability to fix.
Regards and thanks,
AngusJanuary 11, 2022 at 17:44 UTC - Views: 50 #70232kdawson
Participant@scrambler, I just want to use my own branding in the footer. Without a child theme I suppose I could just edit the theme’s footer.php and redo the edits after every update. But that scenario is exactly what child themes are intended to avoid, no?
January 11, 2022 at 19:06 UTC - Views: 45 #70234scrambler
ModeratorWhat do you mean by “your own branding”?
Is it about the Site info at the very bottom like “Site designed, developed, and hosted by the Technology Front“
If so, you can do that using the theme Site copyright box found in Main options / Customize-Where> Footer > Site Copyright Box at the bottom.
If you need help formatting the HTML to put in that box, we can help with that.
January 11, 2022 at 20:49 UTC - Views: 38 #70238kdawson
ParticipantOK, sounds promising, but I see no option there called Site Copyright Box. There is only Global Footer Area Replacement at the bottom, and that wants a page or post ID.
January 11, 2022 at 20:58 UTC - Views: 38 #70239scrambler
ModeratorWhere are you looking?
In the Legacy Admin, it is in Appearance > Xtreme Admin > Main options > Footer > Site copyright box at the end of the page
In the Customizer, with the Customizer in WHERE mode, it is in Footer > Site Copyright
January 11, 2022 at 21:38 UTC - Views: 35 #70243kdawson
ParticipantThanks, got it. Was looking at the bottom of Footer Area, not Footer HTML.
What I want to replace is not the copyright, but the (flush-right) Weaver branding. Looks like I should be adding custom HTML to Footer HTML, not Copyright. When I do this the Weaver Xtreme branding still appears, below the custom content. How do I suppress that?
January 11, 2022 at 21:45 UTC - Views: 33 #70245scrambler
ModeratorNO, given they area on the same line, you want to use the Site Copyright info box, with two container, one left aligned to redo the Copyright, and one right aligned for the Site branding.
You do need to check the box to Hide the proudly powered by…
January 11, 2022 at 21:50 UTC - Views: 32 #70246kdawson
ParticipantThat was actually the first thing I tried. Result: my flush-right content was flush-left (replacing the copyright statement), and the Weaver Xtreme branding was flush-right.
Now, with my desired content in the Footer HTML box, I have “ ” only in the Copyright box; but the “WordPress-icon-Weaver-Xtreme Theme” remains flush-right.
January 11, 2022 at 21:59 UTC - Views: 30 #70247scrambler
ModeratorFor example, you would put in the Copyright box
<span>©2022 - <a href="https://www.siteurl" title="Site name">SiteName</a></span> <span style="float:right;">Other text</span>
Then add the custom CSS below in the site Custom CSS Rule box, to format that box
#site-info {width:100%;}January 11, 2022 at 22:11 UTC - Views: 26 #70248kdawson
ParticipantDid exactly the above. Result: see https://dawson.nu/misc/bad-footer.png .
January 11, 2022 at 22:13 UTC - Views: 24 #70249scrambler
ModeratorThe link is invalid, but what I need is a link to the Site with the HTML and the CSS I gave you in place so I can see if there is something wrong.
January 11, 2022 at 22:16 UTC - Views: 23 #70251kdawson
ParticipantSorry, fixed that link. Main site is https://suddenlyathome.net .
January 11, 2022 at 22:37 UTC - Views: 17 #70255scrambler
ModeratorIt looks perfect, you just need to check the Option to “Hide the proudly powered by…” that is below the Copyright box in order to hide the Weaver Xtreme Theme link
January 11, 2022 at 23:09 UTC - Views: 25 #70256kdawson
ParticipantGreat, thanks much, the footer is sorted now.
There remains one change caused by WX 5 that I haven’t been able to remediate. The search box is tiny and I can’t find the classes / ids to affect its formatting. Comparison here. Using the web inspector I found the classes / ids shown below, but they don’t control how the search box is displayed.
#search-3.widget, #search-form-1, .search-field {
background-color: #e7e8e8; line-height: 1.2em !important; -
AuthorPosts
- You must be logged in to reply to this topic.