Arial73
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Trouble with child theme (it's not inheriting my parent styles)Hello again,
I have one other thought which is that my database may be overriding my child theme. I did a little digging and found that the tables corresponding to my current theme are significantly different than the table for my child theme. If they are of use to anyone, I can post them here, but for now it’s enough to say that my controls within theme customization of wp-admin seem to be overridden by something in my database.
A final complication is that this 2011 theme was modified by my predecessor and I have not been able to identify where he made the visual alterations to the stock theme, which in turn makes me suspect that he altered something which is now affecting my child theme.You can probably tell that I’m not a WP theme developer, and so I would appreciate any breadcrumbs or clarifying questions regarding this issue.
Thank you again.Forum: Fixing WordPress
In reply to: Trouble with child theme (it's not inheriting my parent styles)WAIT
Belay that; this topic is not resolved.Look carefully at my images. You will see that my child theme is not even importing the default look of the twenty eleven theme.
Is my child theme not pulling some theme-specific files for twentyeleven?
Forum: Fixing WordPress
In reply to: Trouble with child theme (it's not inheriting my parent styles)AH…
See, the point that Alchymyth just made is new to me. I suggest that the codex be modified to include this point; namely that a child theme does not inherit theme customization.Forum: Fixing WordPress
In reply to: Trouble with child theme (it's not inheriting my parent styles)Can you provide a code example please?
Forum: Fixing WordPress
In reply to: Trouble with child theme (it's not inheriting my parent styles)Sorry, that change had no effect. I tried it once with your exact code, and one with this line
wp_enqueue_style( 'parent-theme', get_template_directory_uri() . '/style.css' );
changed to this
wp_enqueue_style( 'parent-theme', get_template_directory_uri() . '../twentyeleven/style.css' );
Forum: Themes and Templates
In reply to: Common ground between child themes and custom templates.Hi, sorry for the delay, I was out of town.
Fixing the line of code in the functions.php file as you suggested did not allow the child theme to import all my parent styles.
I’m still seeing, when I “preview” the child theme, a default twentyeleven template, with my website’s text, but none of my styling.Let me ask you this: when a child theme is made, it should inherit all the styling from the parent, and look exactly the same as the parent, correct?
Forum: Themes and Templates
In reply to: Common ground between child themes and custom templates.Here’s the code for the parent enqueue:
<?php add_action( 'wp_enqueue_scripts', 'enqueue_parent_theme_style' ); function enqueue_parent_theme_style() { wp_enqueue_style( 'parent-style', get_template_directory_uri().'https://www.pvccart.com/here/wp-content/themes/twentyeleven/style.css' ); }
Also, here’s my child theme style sheet for grins
/* Theme Name: Twenty Eleven Child Description: Twenty Eleven Child Theme Template: twentyeleven Version: 1 Text Domain: twenty-eleven-child */ /* =Theme customization starts here -------------------------------------------------------------- */
Forum: Fixing WordPress
In reply to: Access problem when returning WP to default directoryOh wow! I followed the Codex’s instructions, and the site is working again, except for a few design issues that I was working on before all this madness started.
Thanks very much for your help. I want to learn from this experience; can you tell me what clues you followed to solve this problem?
Forum: Fixing WordPress
In reply to: Access problem when returning WP to default directoryYes, everything except the dummy index page is under /here/.
I disable the dummy index by appending .bak to the file, and made sure the WP index.php and htaccess file were in the server’s root directory.Forum: Fixing WordPress
In reply to: Access problem when returning WP to default directoryOk, with the removal of the period prepending my htaccess file, I can now access a visually appalling version of my home page, but access to the wp-admin login page still generates a 404 Not Found.
hmmmm…
Forum: Fixing WordPress
In reply to: Access problem when returning WP to default directoryHi there,
I’ll try the “.” mod to the .htaccess file.
I also went back and realized that I had moved, not copied, the index.php file and .htaccess file to the root directory of the website. Fixed that!Here’s the website URL.
https://www.pvccart.com
This goes to a very very temporary “be right back” page, the previous website URL was https://www.pvccart.com/here/index.php