Forum Replies Created
-
AuthorPosts
-
February 23, 2018 at 4:23 pm in reply to: Studio Pro Theme / Woocommerce / Genesis Connect for WooCommerce #216937
clintongallagher
MemberI see. Thank you. I haven't yet found a lot of "how to code" using Genesis Connect help. I suppose I should install it and try to read the tea leaves.
February 23, 2018 at 11:19 am in reply to: Studio Pro Theme / Woocommerce / Genesis Connect for WooCommerce #216929clintongallagher
MemberArticulate answer Mr. Font --almost-- do tell, why do we even need Genesis Connect when using WooCommerce and what does it really do to the code internally?
clintongallagher
MemberWait a minute. Requesting htdocs > index.php loads the website. I've been trying to load from the wrong location. Got a reference to a doc that lists the filenames and the order each loads?
clintongallagher
MemberHello Victor,
Okay then,loading wp_settings.php generates more errors:
Notice: Use of undefined constant ABSPATH - assumed 'ABSPATH' in /srv/www/***/htdocs/wp-settings.php on line 19
Warning: require(ABSPATHwp-includes/load.php): failed to open stream: No such file or directory in /srv/www/***/htdocs/wp-settings.php on line 19
Fatal error: require(): Failed opening required 'ABSPATHwp-includes/load.php' (include_path='.:/usr/share/php') in /srv/www/***/htdocs/wp-settings.php on line 19
Indeed, the only definition in wp_settings.php is define( 'WPINC', 'wp-includes' );
and ABSPATH is not defined. Implies ABSPATH must be initialized elsewhere and something else would be loading wp_settings.php.clintongallagher
MemberMy advice is about the switch statement. It is the way we solve problems like the one you're working with. Learn it. A couple of YouTube videos and you'll have it down pat.
clintongallagher
MemberHi to all this Independence Day and thank you for ganging up on me 🙂
So now I can conclude Genesis generates each line of HTML w/ scant dependency of raw HTML in any of its libs with help from your deeper dives. Notably markup.php as Victor recommended.carasmo reminding me of the usefulness of searching GitHub source was also helpful because search is still part of my learning curve. I'm now using PhpStorm for the first time too and I'm not yet as efficient as using Visual Studio but do tell this off-topic question: is there a PhpStorm External Tool that will search GitHub? External Tools are very impressive. I just did a quick google that did not return anything the 1st SERP.
clintongallagher
MemberVictor I've read through your article and get the point about structural wraps but there is no genesis_structural_wrap() function in genesis/lib/structure/layout.php installed on my project. My genesis/lib/structure/header.php is also completely different that the source you use in the article you referred me to. These are reasons causing me to be confused about my question regadring HTML.
clintongallagher
MemberThanks Victor,
Tonya Mork dba KnowTheCode is up-state from me and one day I hope to work with her as an LLC member in my company but I need another year building out the startup before she'll believe it.
clintongallagher
MemberI consider the context of the question to remain 'specific' so basically it still remains unanswered. I get the finely grained 'hook' functional programming architecture but only one of the two postulations that follow can be true:
First, Genesis generates each line of HTML w/ scant dependency of raw HTML tags in any of its libs.
Alternatively, Genesis includes well formed partial or entire lines of HTML which are acted upon functionally.Now specifically as it pertains to a work-flow objective I'm using a BootStrap child theme. I wanted to find and take a look at the HTML that is used for two container elements in the page; the HTML for the hamburger menu and the HTML that displays the navbar-brand.
I've been looking through the libs for the child theme and I've been looking through the libs for Genesis and I'm trying to nail down how the HTML is actually generated.
clintongallagher
MemberI attempted to return to edit but the edit link is now gone from this post.
Apparently, there is something wrong with the Portlight child theme itself as I had not thought about trying to install another child theme. Well, I have and apparently now all is well however not with the child theme I wanted.
I'll be trying to contact the developer of Portlight but I'd still like to discuss what may have gone wrong as I have intentions of developing my own themes.
-
AuthorPosts