Quin
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Add style (bg-img) to post image divs using functions.phpRight, so you want to dynamically alter what is displayed.
TBH, this is going down the PHP route, so I’d begin by looking at this.
You’ll want to strip/find some text in a string.I’d break down your mini-program / function into steps. Get one part done and working before moving on to the next.~
Essentially, create a variable which will hold the image URL, and then call that when needed.
Forum: Fixing WordPress
In reply to: Role ColorsDoes it mention not being able to edit the CSS in the Editor (something about permissions)?
If you cannot edit, you will need to change the permissions for the files/folders on the server.
Forum: Fixing WordPress
In reply to: Word Press Icon classesOkay, I forced a refresh – you’re right, they do disappear without the WWW.
But all the icons change.Check the stylesheets and image folders – it literally looks to be two different sites at work here.
Forum: Fixing WordPress
In reply to: Sidebars Missing on HomepageI think the problem lies in Governor Attacks School post itself.
The pages and posts I visited displayed correctly, but it seems to break once it renders that post.
Check the HTML within the Post Editor, and make sure there aren’t any extra closing tags.
Forum: Fixing WordPress
In reply to: post layoutOkay, I’m sorry, I cannot read that, but it does look to be displaying correctly.
Can you screenshot what you see?
Forum: Fixing WordPress
In reply to: Word Press Icon classesNope, still showing.
Have you any other browsers to test in? I’m using Chrome, you’re using IE.
It may be an IE issue.Forum: Fixing WordPress
In reply to: Add style (bg-img) to post image divs using functions.phpSo rather than code it in, you want the server to do it for you?
Why can you not just type it in as you want it to be?
Forum: Fixing WordPress
In reply to: Role ColorsThis will be edited in the CSS, so it needs live data (cannot inspect an image).
Forum: Fixing WordPress
In reply to: Edit sub-pagesIt sounds like a database error – just not connecting properly, or reading, or something went wrong there.
You may need to reset it somehow.
Check for plugins which updates the database (I honestly don’t know of any for posts/pages).
I used one for Media though.If not, take a copy of the posts/pages, and then reset the database (there is a plugin), which removes all content (as though freshly installed).
Forum: Fixing WordPress
In reply to: Unable to edit my own profileSounds like permissions to me – check the FTP permissions and the Database
Forum: Fixing WordPress
In reply to: Redirecting to subfolder installYea, if you cannot log in and change the URL in Settings you’ll have to do it in the database.
Essentially, log into the database where you installed WP and find the record with the URL. This needs to be changed to the working URL.
Once logged in, change it using WP-Admin. It may require a reinstall of WP if you installed it to the wrong directory.
Forum: Fixing WordPress
In reply to: Word Press Icon classesScreenshots – both look same to me
Forum: Fixing WordPress
In reply to: Adding a text-indent only to posts and not pages<p class="myClass">some text</p> .myClass { color:red; }There you go – classes
.entry-content is a class – it looks like
<div class="entry-content">in the HTML
All P tags within that DIV have the indent.Applying a similar method, you can add another class to the pages you want indenting (say blog posts) and style it in the CSS.
Though this means editing the actual PHP pages (maybe having variations), which is why I wanted to have a look.
Without knowing, I’d make two pages (index.php, page.php, for example).
Index has posts, Page has pages.Index has
<div class="entry-content posts">
Page has<div class="entry-content">You then have your CSS as
.posts p { text-indent:2rem; }Forum: Fixing WordPress
In reply to: Mailto property in codeblock is being rendered.Are you using the actual symbols < ” etc?
Try the ASCII call-outs (or whatever they’re called).
For instance, a space is
and copyright is©.Forum: Fixing WordPress
In reply to: Adding a text-indent only to posts and not pagesTBH, you can just do this with CSS classes.
If you link your site, I can have a look and make a suggestion.