RossMitchell
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Widget Font/Color CustomizationUsing the browser inspector I find that this styling is an h3 element by some inline css, which is:
<style id="tt-easy-google-font-styles" type="text/css"> p { font-family: 'Tahoma'; font-style: normal; font-weight: 400; } h1 { color: #dd3333; text-decoration: none; text-transform: uppercase; } h2 { color: #5cd606; } h3 { color: #8224e3; font-size: 16px; } h4 { color: #1e73be; } h5 { color: #dd9933; } h6 { font-family: 'Tahoma'; font-style: normal; font-weight: 400; } </style>Which is inside a div element with
id="wrapper"
So if you want to change it you have to use !importantI found this by first finding the css that the text was using, then searching the page source for the color number 8224e3
Forum: Fixing WordPress
In reply to: How to remove post datesI am trying…
I assure you that the effort of learning to use the browser inspector will repay you untold fold.
If the css you are putting into additional CSS is not having any impact you have to find out why. When the css daemons do this to me I change the css from “display:none;” to something less subtle, such as “background:red;”
Forum: Fixing WordPress
In reply to: Backing up to a temporary URL?Quite routine.
When you want to activate public access to the bigcommerce site you change the nameserver settings in your domains’s DNS settings. Then you maintain access to the WordPress site on the present server by putting its IP address against your domain name in your “hosts” file, details on the hosts file here:
https://en.wikipedia.org/wiki/Hosts_(file)This way the world uses the standard internet DNS system to find your bigcommerce website, while your own computer evades the DNS system and uses the manual settings in the hosts file. You can turn the hosts file entries on and off by commenting out the lines with a # to enable and disable your access to the old site.
Prior to going live with the bigcommerce site you can enable your access to it by using the hosts file settings.
Forum: Fixing WordPress
In reply to: How to remove post datesYour browser inspector will answer your questions as to where the css is and so on.
Also removing CSS is totally how not to do this, you need to add the css needed to modify the themne, not vandalise it by cutting pieces out.
If you can’t or won’t learn how to use the browser inspector you are in for a very tedious time.Forum: Fixing WordPress
In reply to: Trying to create s table (?) with pictures and textVarious options:
– You could use your existing table html (with adjustments for the image file locations), just add it into a page in HTML mode, give the<table>a class so that you can target styles. This leaves you with a difficult update/edit operation if you ever want to add or change entries.
– Now I have not done anything like this myself, but in theory you could:
. Create a custom post type called say “bio”, there will be one for each classmate, fields would be imagefilename, name, biography, year etc
. In your child theme create a customised page template for single bio posts and for multiple bio posts which is called an archive
. you may be able to filter on the fields to show selections of entries
. you should be able to bulk load the posts using your present data
– My approach as a coder and developer would be to create a plugin that declared shortcodes that would query and display and edit a separate database table.Forum: Networking WordPress
In reply to: Multisite installation not working after move to new hostingSuggest that you examine the page source of one of your pages that is showing text but should be showing images. Look at the image URLs that are not working. Same if you have CSS which is not loading.
Forum: Fixing WordPress
In reply to: How to remove post datesIf it is in the additional CSS and has no effect, then you need to find out why. Like is a stronger style masking this one, or something. This requires you to use the “Browser inspector” of your web browser to see what CSS is active in your pages etc.
Like try:span.post-time { display:none; }Forum: Fixing WordPress
In reply to: New Category Not Shown When UnloggedHave you added the new category to the various menu entries where you want to see them ?
Forum: Fixing WordPress
In reply to: How to remove post datesUsing my browser inspector I find that the date has a class of post-time, so this CSS will stop it displaying:
.post-time { display:none; }Add this to your sites CSS, most easily in the additional CSS tab of the customizer.
Forum: Developing with WordPress
In reply to: Need help styling posts with PHPI would look at how posts are styled in your particular theme. This doc will let you workout which theme template file is used by your posts (or possibly post archive since you are displaying multiple posts):
https://developer.wordpress.org/themes/basics/template-hierarchy/
Of course this makes your code potentially theme dependent, but that is inevitable.Forum: Fixing WordPress
In reply to: How To Remove Logo On Other Pages That is Not On HomepageYou need to add this CSS that disables the logo on all pages and then enables it only on the homepage. Like this:
#site-logo { display: none; } .home #site-logo { display: block; }This is most easily added to the “additional css” tab of the customizer, but could instead be added to the style.css file of your child theme.
Forum: Localhost Installs
In reply to: Migration of a site with backup to have a twice for essaysHello Chandan,
Firstly the forum rules here are that if you have your own question that you start a new thread, though this may sound strange it does ensure that your question gets the visibility in the community to get you the best answer. As it is probably only the people who have participated on the thread already will read your question.Depending upon when the error occurred during your website migration, you may find this article helpful, it list many different way that you can create a login if you lose access, all of the methods work, it just depends upon what access you have and what skills you have. The article:
https://codex.wordpress.org/Resetting_Your_PasswordForum: Developing with WordPress
In reply to: wp_usermeta ~ 3 milion wor has slowly query.Is this really the query you need ? Your query is fetching every userID + name etc for every user with a user_level not zero. More likely you need to know these details for the current user, or even this for a limited list of users.
Steven’s suggestion is quite viable, you would have to be prepared to recreate the index after an upgrade and the performance degrades.
Forum: Localhost Installs
In reply to: Can I restore a site from a copy-paste backup of the directories?You still have substantial problems.
If you have a copy of the files on a USB stick, then yes these would give you a set of the code for your plugins and theme, also images, however I have some reservations about how useful they will be:
– you may not have a good copy as suggested by the “disk corrupt” message.
– the virus may have invaded these files.
The other WordPress files (except for plugins and themes) are of very little interest since they can be reloaded any time from wordpress.orgA bigger problem is that most of a wordpress website is stored in the database and not the files. Without a copy of the database you will not have your pages or posts, nor menus etc. Is there any way that you could still get a copy of the database? The name of the database will be in your “wp-config.php” file in the root directory of your website files. Unfortunately it is possible that the virus has compromised the contents of the database.
You have not clarified the natue of the virus(s) you found ? Are they Windows ones or webserver ones ?
There are commercial oganisations such as wordfence that can assist you with restoring websites.
Forum: Fixing WordPress
In reply to: CSS for theme footerThe best place to put this css is in the customizer > additional css tab.
The next best place is in the style.css file of your child theme.