Dave Naylor
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: categories and menu not corresponding in premium themeYou don’t have to delete anything. Go to:
Dashboard -> Appearance -> Menus
Select your menu, select the categories tab, add to the menu.
Here’s a screenshot, with added big pink arrows ??
Forum: Fixing WordPress
In reply to: Date and leave a comment hover color…The last step in the process is the one that actually does the overwriting the base stylesheet.
That’s right.
how could one change the “entry-meta” text color without using the “!important” declaration?
Are you able to post the URL of the site?
I can create a new child of TwentyFourteen and easily change the colour using your block of CSS but without the
!important
declaration. There must be something else in play at your site.Forum: Fixing WordPress
In reply to: Date and leave a comment hover color…The CSS in the child theme does override the CSS in the parent theme only if the !important tag is used which is why the !important tag comes into play. Without that tag, the child theme CSS will NOT override that of the parent theme’s.
That’s completely untrue.
From the How to Create a Child Theme codex page:
Note: The child theme’s stylesheet is included after the parent theme’s and styles will therefore override those in the parent theme’s stylesheet
That aside, the
!important
declaration shouldn’t be used reactively. You’re hitting CSS with a sledgehammer to solve a small issue.Forum: Fixing WordPress
In reply to: Parse error: syntax errorThat’s a style sheet, not a footer.php file.
If you’re going to post code, please place it between backticks or using the handy button in the editor. If you want to post large amounts of code, use https://pastebin.com or similar and post the link to the URL.
Forum: Fixing WordPress
In reply to: Transparency EffectsAre there any documents I could read online to help understand what I need to do to make this happen?
I like pointing people to here:
Forum: Fixing WordPress
In reply to: Not Found The requested URL /rrr.phpA quick Google search suggests that this may be a sign of a compromised site. If you didn’t create rrr.php or a link to it, then you should obviously be concerned. I’d proceed on the basis that someone has attempted to break into your site and I’d start with reading this codex page:
Forum: Fixing WordPress
In reply to: Really strange issue with Digital OceanVery strange. How about setting up a new WordPress install on a sub-domain or in a sub-directory. Maybe even just renaming the current site directory and creating a new directory using the old name, then the hosting will be the same. Create a new DB and just carry out a conventional install.
If all goes well, we know your LAMP stack is AOK and that it’s something to do with your current WordPress install.
Forum: Fixing WordPress
In reply to: Really strange issue with Digital OceanWhy are you immediately editing the password? Can’t you just use
--user_pass=<password>
when creating the user with wp-cli?Forum: Fixing WordPress
In reply to: categories and menu not corresponding in premium themeIf you’ve simply created the pages by calling them by the names of your categories, WordPress doesn’t know to put your posts in there. Look at your Games page for instance, I see you’ve used the default page template. So that just wants you to add content in the page editor, there’s no built in loop for your games category posts.
You could create category menu items rather than pages in your menu. You’d do that by adding category items from the menu editor. Alternatively, you could create custom page templates for the pages you’ve created and use a custom loop on each.
Forum: Fixing WordPress
In reply to: Really strange issue with Digital OceanHow about using wp-cli to create a brand new user with admin rights?
wp user create ...etc
Forum: Fixing WordPress
In reply to: Really strange issue with Digital OceanOK, I have to ask because I’ve done this myself a few times. Are you editing the right database?
Forum: Fixing WordPress
In reply to: Is It Possible to Put Custom Code in the Header of the Single Page?Like this:
if ( is_page( 25 ) ) { // do stuff }
Forum: Fixing WordPress
In reply to: Really strange issue with Digital OceanHave you tried from a different browser, device, machine?
Forum: Fixing WordPress
In reply to: Image ALT tags not showingLooks like you didn’t add the function in the right place. Remove the function
its_branding()
and add this new one where I’ve indicated. I amended it a little from the original:Forum: Fixing WordPress
In reply to: White Screen after changing screen options to show 999 postsIf you have access to phpmyadmin, select the wp_usermeta table and then find your user ID within it. You’ll see a meta_key of edit_post_per_page with a meta_value of 999. Edit to show a lower number such as the default 20.
If your hosts have wp-cli installed it’s even easier. In the terminal inside your WordPress installation, type the command:
wp user meta update <your user ID> edit_post_per_page <your desired lower number>