Denis K
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Logo on mobile in the center – I can only move it to the rightIt appears that now, there’s another image that falls under the “Alternative Logo” class that appears on top of the original logo.
Try hiding the alternative logo in CSS like so
.alternative-logo{visiblity:hidden;}
Forum: Fixing WordPress
In reply to: Using 1 media library for 2 sitesNo that’s not an import. It might be considered “hot-linking”, whereby site B is virtually pointing to the image, which is stored on site A. An import would be having the image physically stored on both site A and B.
On you page in the back-end editor, click Add Media button.
On the next screen on the left, click Insert from URL, then paste the image link from site A.
Forum: Fixing WordPress
In reply to: Using 1 media library for 2 sitesYou could upload all images on the one site A.
After each upload, get the full path url to the image/media from WordPress itself.
e.g. http://siteA.com/wp-content/uploads/image.jpgOn site B, link straight to the image as per above URL instead of using the media folder, using
Add Media > Insert From URLIn that scenario, your images are hosted on site A, but visible on both.
Forum: Fixing WordPress
In reply to: your connection is not private ProblemThe SSL certificate has been issued to mostafakh.com and not to khastkodaie.ir.
When you type khastkhodaie.ir, it tries to load the SSL certificate as it goes straight to https://khastkhodaie.ir, causing a mismatch in domain names as the certificate has not been issued to khastkhodaie.ir, so you’ll get the security issue screen (connection not private).It looks like you’re pointing your new domain straight to the “host” of mostafakh.com.
Your redirect should be a 301 redirect from khastkhodaie.ir to mostafakh.com, causing the URL to go straight to the latter domain.
Forum: Fixing WordPress
In reply to: Logo on mobile in the center – I can only move it to the rightAdd this to your CSS – The display style is set to “block” and needs to change to “inline”.
.responsive-layout header.main-header .logo-wrapper .logo img{display:inline!important}
- This reply was modified 6 years, 1 month ago by Denis K.
Forum: Fixing WordPress
In reply to: Warning message on a pageHey alelaz,
It looks like your theme “Make” is trying to reference the file (setup.php) and it cannot be found. Upon inspection of your pages, your path to your theme structure looks like this
antoniopanzuto.it/wp-content/themes/make/inc/…
and not
antoniopanzuto.it/home/wp-content/themes/make/inc/…Solution 1
Double check the php files from the themes and ensure that /home/ is not present. I’ll be inclined to look at the functions.php file in your child theme folder. My next bet would be to check the page template for the Misura-per-misura page. Remove the extra path if found.Solution 2
Contact the theme authors.Solution 3
You could remove the warnings from the live site by doing the following if nothing is broken. Note that the warnings are technically still present, but just not showing to the public. Proceed with caution if you’re not familiar with PHP.
Find wp-config.php in the root folder (FTP, File Manager etc) and change the following line
define( 'WP_DEBUG', false );
to this
define( 'WP_DEBUG', true );Good luck.
Forum: Fixing WordPress
In reply to: Google Page fetch – “Failed: Not found (404)”I typed in the URL and the web server was trying to access dwelled-centipede.php.
What is that? And why do you serve this file to search engine?Can you remove the extra stuff from your .htaccess and try asking Google to fetch again?
The .htaccess should read like this (extra stuff commented out with “#”):
#RewriteEngine on #RewriteRule ^2322525408/(.*)$ biochemistry-descriptives.php [QSA,L] #RewriteEngine On #RewriteCond %{ENV:REDIRECT_STATUS} 200 #RewriteRule ^ - [L] #RewriteCond %{HTTP_USER_AGENT} (google|yahoo|msn|aol|bing) [OR] #RewriteCond %{HTTP_REFERER} (google|yahoo|msn|aol|bing) #RewriteRule ^(.*)$ dwelled-centipede.php?$1 [L] # 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 WordPressForum: Fixing WordPress
In reply to: ” Failed to repair the wp_users table. “Did you also back up your sql database (phpmyadmin) and imported the file back in your new XAMPP instance? I’d be doing this:
1. Back WP files + Database (sql) dump of site
2. Add WP files from step 1 into XAMPP/htdocs/New-WP-Folder
3. Go to XAMPP > PHPMyAdmin, create a DB, and import the sql dump from step 1
4. Amend/Edit wp-config.php to match details from 3 if required
5. Run the siteForum: Fixing WordPress
In reply to: Font Size Wont ChangeTry this –
Apologies, I typed in ‘font-style’ instead of ‘font-size’ in my previous post.<h1> <a href="https://creator.zohopublic.com/nevadadayinc/parade-application-2019/form-perma/Nevada_Day_Sponsorship_Form_2019/ggkaERaSqNDrYUy3BfQ2BOgY1EvgMk0CK4PA7xxYU7kg7ypdTOPYCVJkGD0KygCVpU0gSNGnbBTQ7zaRaf4bhykMVGGSCbAaWP87" style="font-size:100px!important"> 2019 Sponsorship Opportunities </a></h1>Forum: Fixing WordPress
In reply to: Font Size Wont ChangeIt looks like the
<a>style for font size is overwriting the<h1>font size.
Try this and let us know.<h1> <a href="https://creator.zohopublic.com/nevadadayinc/parade-application-2019/form-perma/Nevada_Day_Sponsorship_Form_2019/ggkaERaSqNDrYUy3BfQ2BOgY1EvgMk0CK4PA7xxYU7kg7ypdTOPYCVJkGD0KygCVpU0gSNGnbBTQ7zaRaf4bhykMVGGSCbAaWP87" style="color: #800080;font-style:100px"> 2019 Sponsorship Opportunities </a></h1>If it fails, try this one:
<h1> <a href="https://creator.zohopublic.com/nevadadayinc/parade-application-2019/form-perma/Nevada_Day_Sponsorship_Form_2019/ggkaERaSqNDrYUy3BfQ2BOgY1EvgMk0CK4PA7xxYU7kg7ypdTOPYCVJkGD0KygCVpU0gSNGnbBTQ7zaRaf4bhykMVGGSCbAaWP87" style="color: #800080;font-style:100px!important"> 2019 Sponsorship Opportunities </a></h1>- This reply was modified 6 years, 10 months ago by Denis K. Reason: Embedded anchor tag
Forum: Fixing WordPress
In reply to: Empty Media LibraryGood to hear!
Forum: Fixing WordPress
In reply to: WordPress accessYour website works fine, it’s just the home page that’s not rendering.
1.http://www.cocktail-dream.com/impressum/
Loads fine
2.http://www.cocktail-dream.com/datenschutzerklaerung/
Loads fine
3. http://www.cocktail-dream.com/
Loads, but there is some error in rendering the page fully (if you view the source (right click, view source), it stops where the body content happens) – so the page does not show anything.
The home page also shows a javascript error from one of the libraries that your theme (Uncode) is using.
I would suggest you reach out to the developers of the theme or see whether they have a fix for this, assuming that it’s due to the WP 5.2.2 update.I’d probably try to switch to another theme just to see if this works, but I’m guessing it’s an impossible feat for you without being able to access your WP dashboard.
If all else fails, restore a previous backup of your site (your web hosting provider should be able to help), and if you really want to update to 5.2.2, change your theme to another one before you do so.
Forum: Fixing WordPress
In reply to: Cannot access subdomain sites via httpsFor the wildcard to work across your subdomains, you’ll need to have the SSL installed for the domain itself, and that all the repositories for the individual subdomains falling inside public_html of the primary domain files.
e.g.
domain.com [public_html]
sub1.domain.com [public_html/sub1]
sub2.domain.com [public_html/sub2]Hope this helps – have you tried contacting Bluehost support? Are you using a specific Multisite plugin? They might also be able to help.
Forum: Fixing WordPress
In reply to: Empty Media LibraryThe website shows that the media folder is only just ‘uploads/’ instead of ‘uploads/{{year}}/{{mm}}’.
Have you explicitly made changes for the above to happen on the site?
If not, I would probably go to your files via file manager or FTP or SSH, navigate to wp-content/uploads folder and ensure that it’s writable (755), then try to upload an image in the library again via WP back end.
If that does not work, go back to the uploads/ folder, and inside, manually create a folder 2019, and inside this folder, create another folder for the month e.g. ’06’.
Then upload the image again.Forum: Fixing WordPress
In reply to: AdsenseNothing to do with cPanel – It’s all in your WordPress website. There are a few areas where this code might be located. Let’s get through them one by one.
Log onto your WordPress via wp-admin/, then
1. Homepage
View your page that is currently assigned to the homepage. Scroll to the bottom of the page, and see if you can find this (remove it if you do):<div style="margin-top:10px;margin-left:-420px;"> <!-- ads --> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- ads --> <ins class="adsbygoogle" style="display:inline-block;width:336px;height:280px" data-ad-client="ca-pub-9005455344250146" data-ad-slot="2886375312"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div>2. Theme Editor – footer.php
Go to the editor and find the footer.php file. Remove the code if it’s there.3. Sidebar/Widgets
Go to your widgets section, and view all enabled widgets. Remove the code if it’s there.