smithgt
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [HappenStance] Support for PHP v8ok – I don’t have a header image so I’ve just changed those lines in the functions.php
/** * Outputs Custom Logo URL. * */ if ( ! function_exists( 'happenstance_custom_logo' ) ) { function happenstance_custom_logo() { if ( function_exists('the_custom_logo') ) { $custom_logo_id = get_theme_mod('custom_logo'); $image = wp_get_attachment_image_src($custom_logo_id , 'full'); return ''; /** $image[0]; */ } else { return '';
Perfect – Thank you.
Forum: Fixing WordPress
In reply to: Home page won't open, browser tries to download a file insteadI’ve managed to fix this as there was a file called index.htm.old that contained the HTTP redirect.
I’ve removed this this file and now all is well.
Thanks for you help.
Forum: Fixing WordPress
In reply to: Home page won't open, browser tries to download a file instead# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
Forum: Fixing WordPress
In reply to: Home page won't open, browser tries to download a file insteadI don’t know from where it’s getting the REFRESH as originally I’d placed an index.htm in the root which I’ve since removed.
The current files are:
. htaccess
index. php
license_txt
@readme.html
wp-activate_php
wp-blog-header.php
Wp-comments-post.php
wp-config-sample. php
WP-config_ php
wp—cron.php
wp-links-opml.php
wp-load.php
wp-login.php
wp-mail. php
wp-settings.php
wp-signup_php
wp-trackback.php
xmlrpc.phpForum: Plugins
In reply to: [Pretty file list] Doesn't workHmmmm, I’m having a similar problem with DOCX files, so I saved the file as a .DOC and im having limited success.
This page:
https://1st.great-bentley.co.uk/hq/annual-reports/has these two bits of code:
[prettyfilelist type=”doc” filesPerPage=”3″]
[prettyfilelist type=”pdf” filesPerPage=”10″]
The DOC doesn’t appear, and if I upload a DOCX then both lists contain both PDF and DOCX files.
Any ideas?
Forum: Plugins
In reply to: [Mailchimp List Subscribe Form] Widget too WideThanks – very much appreciated.
Forum: Plugins
In reply to: [Mailchimp List Subscribe Form] Widget too WideThanks, can you advise what I’d need to change to remove/adjust the massive white space between fields?
I’ve used
#mc_signup_form .mc_var_label {
display: inline;
line-height: 1.5em;
}to adjust the labels, can am not sure how to fix/adjust the fields.
thanks
Forum: Plugins
In reply to: [Mailchimp List Subscribe Form] Widget too WideSorry I’d been playing with non-widget options.
I’ve put the widget back so it appears on every page and also on the footer here
https://www.gbstop.co.uk/our-objections/
thanks MC_Dominic
Forum: Fixing WordPress
In reply to: The uploaded file could not be moved to wp-content/uploads/This was actually a host issue. I’d reached the max number of file uploads, so a little bit of housekeeping have fixed this issue.
thanks
Forum: Fixing WordPress
In reply to: Delete or Lost MediaOK – Thanks for you assistance.
I’ll check for another local backup.
Forum: Fixing WordPress
In reply to: Delete or Lost MediaI’ve checked via FTP and the original folders are empty ??
I’m hoping I have a hosting backup….
Forum: Fixing WordPress
In reply to: Applying a style to images?Ah…. Fixed it.
I had a padding value of 2 which was preventing the rounding!
So thanks again!
Forum: Fixing WordPress
In reply to: Applying a style to images?Thanks – I’ve tried that an it’s put a rounder border on a square edge photo.
Is it possible to round the photo too?
Forum: Plugins
In reply to: [Pretty file list] [Plugin: Pretty file list] Sorting File ListWhat about making this list sort in Reverse?
Is that possible too?
thanks