sprowt
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: loading parent styles using child themei’m feeling much better about my efforts, thankfully.
i got all the examples working on my bare bones installation, including using a filter to turn off child styles enqueued in parent theme (a la GeneratePress).
i’m so appreciative for the WordPress community and folks like you manning the support forums <3
have a lovely evening <3
Forum: Developing with WordPress
In reply to: loading parent styles using child themeyou’re so kind and patient… thank you <3
i finally got loading parent and child style working.
good question about
wp_head()
and yes that was called before so, not sure what the problem was other than typical user error ??this example is when parent uses
get_stylesheet
… function to enqueue.i’d like to leave the thread open while i practice when parent theme uses
get_template
… function, if you don’t mind.then i’ll enqueue both using is_child_theme conditional (a la GeneratePress).
i’ll move forward at that point and stop bugging you ??
thanks again!
Forum: Developing with WordPress
In reply to: loading parent styles using child themethank you so much!
i’ll try it again. but that’s the exact code i’m using which doesn’t work for me.
very disappointing, frustrating, and discouraging esp when it’s taken directly from the handbook (and of course slightly edited for my install).
clearly i’m doing something wrong, and i’ve spent hours trying to solve it. but it just won’t work for me.
i’ve spent as long on other problems and have eventually gotten them working.
this one, however, sticks in my craw.
i’m very grateful for your help, please understand. i just wish i could succeed with this example.
i’m going to leave the thread open and get back when i start again from scratch.
gratefully yours, L
Forum: Developing with WordPress
In reply to: loading parent styles using child themethanks for your reply.
i want the parent styles in addition to the child styles, so dequeue is not needed.
i don’t want the child theme to completely override all the parent styles which is what’s happening now.
i’ve tried it many many different ways. it’s not working for me, and i’d like to know how to get it working, please.
it’s not a caching problem bc i can see in the inspector that the parent styles are not being loaded.
it works on 2017 and GeneratePress themes (parent styles are not overridden and child styles are also loaded) but not when i make a simple theme of my own, using a bare-bones install of index.php, style.css, and screenshot.png.
2015 child styles load but not parent styles, so that’s not working even when i copy/paste code from theme handbook and edit accordingly.
i am following the directions carefully, although obviously i’m doing something wrong.
i’ve tried and tried and tried AND TRIED. i’ve tried every way described in the handbook plus as many variations as i can think of–nothing works.
i don’t want to give up. it’s supposed to work and i’d like to know how, if at all possible. altho i am getting discouraged and frustrated.
thank you for your help and patience, and happy thanksgiving if you celebrate.
with gratitude, L
Forum: Developing with WordPress
In reply to: _s add_theme_support for ‘infinite-scroll’got it, thanks BCWorkz!
i found some IS files in one of my installs and will look at those… interesting stuff although more advanced for my level.
i suppose that’s how one increases knowledge and moves forward, however.
wish me luck!
and have a
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] infinite scrollhi jen,
i found the infinite scroll plugin files i was looking for, thank you.
is it possible for you to briefly explain this code to me:
<?php use Automattic\Jetpack\Assets; use Automattic\Jetpack\Redirect;
where are these files located?
i’ve never seen an include like this before.
i’m a JetPack user but only the free version, unfortunately. and i’m a novice just puttering around trying to learn stuff that interests me.
thank in advance <3
thank you, Matt. i GREATLY appreciate your response and will look closer at this setting.
it resolved on it’s own, which apparently it does, before i had a chance to see the errors as you did. this is all new to me but i’ll make time to learn about it.
can’t express my gratitude enough, Tom, really.
you give me hope for humanity.
i wish i were half as smart as you. you deserve all good things.
take good care, Lesterthank you, Tom.
how were you able to see the file requests? i’d like to learn how that works. please recommend learning resources if possible ??
would WP-Optimize be causing this? there’s an option to “Purge the Cache” on the settings page. is this what you mean by clear/disable?
i’m sorry i don’t have knowledge of caching. i appreciate your support and love GP.
your new pic is nice but it’s very flat and dull. it needs contrast–something to make it pop. you deserve a snappier photo, sir <3
many heartfelt thanks for your support, Lester
forgot to mention that the styling is fine when i’m logged into the admin… never had that happen before.
Forum: Everything else WordPress
In reply to: Plugins Handbook Functions QYes, thank you.. very helpful!
I appreciate the WP Cron hooks link which I’ll put on the list to investigate, as well.
I asked about the CPT example because it’s specifically mentioned in the Plugins Handbook and, to your point, it’s hooked with ‘init’.
It’s really great to hear I’m on the right track and I’m so GRATEFUL for the opportunity to confirm, clarify, and learn in these forums.
I’m excited for the opportunity to pay that forward one day (hopefully sooner than later ??
Thanks again and be well!
Forum: Themes and Templates
In reply to: [GeneratePress] system fonts Qso grateful, tom, thank you!
i’m enqueueing my fonts w the generatepress_child_enqueue_scripts function, no dependencies, all media.
then i apply font-family: ‘new-font-name’, sans-serif; to ‘body *’ selector and
a font-family: ‘new-font-name’, serif; declaration on ‘.site-branding’ for site title links, both in _child style.css
gracias <3 Lester
Forum: Themes and Templates
In reply to: [GeneratePress] generate_page_header function Qalso, yes–resolved ??
Forum: Themes and Templates
In reply to: [GeneratePress] generate_page_header function Qyes helps, thanks!
interested to learn about how GP does it’s magic <3
since it adds featured img in div below #masthead and above the #page.site i found it confusing.
perhaps it’s used for further customization using addons.
thanks for your time and have a great day, Leo <3Forum: Themes and Templates
In reply to: [GeneratePress] widget appearance (logic) option button gonegood morning Leo,
lo and behold!
it was Jetpack all along… i assumed it was GP functionality and when i temp disabled Jetpack… sidebars went kaput!
reactivating made all well again.
you helped a lot…
many thanks,
cheers!