AshboDev
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Posts not ordering chronologiacallyI imagine they’re being sorted by name or something, instead of date posted. Did you write the code for the template yourself? If so you can try changing some arguments in the loop you’re using
No problem, enjoy ??
Forum: Fixing WordPress
In reply to: Post TitleIt looks like the post content is being output in the “Posted On” bar. Have you changed any of the code?
Search
single.php
andindex.php
forclass="meta"
. In there I assume there’sthe_content();
instead of the relevant post meta functions.Have a look and let me know how you get on.
Cool, I can see it now. It’s being overridden by another CSS selector, in this case it’s using an ID not a class. ID’s take priority so that CSS I gave you is being overridden.
Simple fix is to add an !important to your CSS:
.single-product .entry-meta, .single-product .navigation { display: none !important; }
That’ll do the trick ?? Removing that brings the title close to the top. If you wanted to add some spacing between the header and the title, add this in:
.single-product .entry-title { margin-top: 20px; }
GL!
AshI think something is caching. They’re all still there for me and the css doesn’t appear to exist. Are you using a plugin like W3 Total Cache? If you’re using a caching plugin, can you purge/delete the cache to see if it fixes it?
You’ve linked us to your wp-admin page. Can you re-upload the screenshot please ??
So to remove the info above the picture as well as the next and previous links, try adding:
.single-product .entry-meta, .single-product .navigation { display: none; }
See number 19 in their FAQ for where to put this: https://www.cryoutcreations.eu/wordpress-themes/mantra/mantra-faqs
- This reply was modified 7 years, 1 month ago by AshboDev.
Forum: Fixing WordPress
In reply to: Random white space appearing at start of postIt appears to be some sort of featured content… Does fluidvids sound familiar? It’s loading an iframe with an empty YouTube embed. Here’s the code:
https://gyazo.com/067851979d7c098a52f715749ca725a3
Might be something in the theme you can disable on a per-post basis. Have a look and let me know. If that doesn’t work you can add some custom CSS but it’s better to remove it if you can, that way there’s less work for the browser to do (the browser has to render that video, even though it’s not being used).
If we add CSS we’re adding even more for the browser to do on top of the YT video above, so it’s a last resort!
Let me know how you get on.
AshForum: Plugins
In reply to: [Contact Form 7] Mail tab empty after site moveMorning!
I took a dump of the database from the live server, and SCP’d the files over and just updated wp-config to connect to the DB on the new server.
I’ve already tried using the WP export tool on the old site and importing it on the new, but with no results sadly.
I’ll compare the 2 databases. I’m not sure if the find and replace script I ran would affect it, as I was just searching for the old domain and replacing with the staging domain.
Weird..
I’ll look into it and let you know if I strike gold!