author – How to fix undefined variable in WordPress functions.php

if I debug, I get four messages, two of them seem to be identical

  1. Notice: Undefined variable: author
  2. Notice: Trying to get property ‘nicename’ of non-object
  3. Notice: Undefined variable: author
  4. Notice: Trying to get property ‘nicename’ of non-object

for this code

$author_rewrite("de/{$author->nicename}/page/?((0-9)+)/?$") = 'index.php?lang=de&author_name=$matches(1)&paged=$matches(2)';
$author_rewrite("de/{$author->nicename}/?$") = 'index.php?lang=de&author_name=$matches(1)';

codechecker online, however, says the code is ok?

Created php page in wordpress – Error Page can not be reached

I want to create a folder within wordpress site at root and add a php page abc.php with simple code like
<?php echo "Test php page." ?>
But when I try to run this page like this http://mydomainname.com/Myfolder/abc.php
it gives error "This site can’t be reached"
Why it is not reading my php page. I did the same on my another domain and it is working fine.
Please help.

theme development – No wordpress installation even though wordpress is installed

Im using VCCW (vagrant), I upgraded from php7.0 to php7.4 so that i could use the sage starter theme (roots.io), After upgrading to php7.4 everything was fine however after running composer install sage ect… my server wouldnt return any response at all, Even after i removed the sage theme the server still wouldnt work.

So i put the sage theme back and then ran yarn && yarn build as instructed and still the site wouldnt return anything so i ran sudo reboot.

Now it returns the default apache2 homescreen but not my wordpress site. When i run wp user list it tells me there is no wordpress install, Even when i run it in the root of the wordpress site.

Does anyone know why this might be happening?

uploads – MIME type not supporting HEIC support type in WordPress

I am working on wordpress 5 and want to upload HEIC file type extension. But it doesn’t work as it give me this error

sample1.heic
Sorry, this file type is not permitted for security reasons.

But i have added MIME Type support like

function cc_mime_types($mimes) {
$mimes('heic') = 'image/heic';
return $mimes;
}
add_filter('upload_mimes', 'cc_mime_types');

when i var dump the data it shows it supported that but it dowsn’t upload that file
But it still doesn’t work

5 pages advanced yosta onpage SEO wordpress optimization for $20

5 pages advanced yosta onpage SEO wordpress optimization

Are you struggling to rank your website on the First Page of Google? Don’t Worry anymore you are at the right gig. I would take care of all your On-Page & Technical SEO to Rank your site for your targeted keywords on Google.

5/15 pages onpage SEO wordpress website ranking using yoast plugin

Are you looking for the most effective OnPage Service to rank your website higher on Google & Bing Search Engine at a very low price?

If yes, then you are at the Right Place. I would take care of all your OnPage SEO to Rank your site higher on Google & Bing Search Engine.

➡️ Why You Choose me?

✓ Only White Hat Work

✓ WordPress Web & Search engine optimization Expert

✓ Work Progress Reports

✓ In Time Work Delivery

✓ 100% Satisfaction Guaranteed

✓ Reports Delivery with Screenshot work Proof.

* OnPage Search Engine Optimization:

* Best Keyword Research for your Niche

* Title & Meta Description

* H1, H2 & H3 Tags Setup

* Internal Linking

* Best Yoast/Rank Math Settings Configuration

* Clean Permalink & Breadcrumbs

* Image Optimization & Alt Tags

* XML Sitemap & Robots.txt Creation

* Google Analytics Setup & Configuration

Please note:

This gig is for websites written English only

So feel free to place an order now.

***100% quality work guarantee. Before order please message me.***

.

images – How to create ‘Local’ filters for WordPress srcset sizes in template parts?

I’ve read a bunch of tutorials on how to create filters for srcsets and srcset sizes, but they all appear to be applied globally, with a fixed width or set of widths for sizes.

The trouble is, I pull in content from posts and pages in template parts throughout my sites, and these typically display the featured image in a much smaller context.

So although it’s properly using WordPress’s responsive images, the width by default is set to 100vw, so even if it’s never displayed at larger than 1/3rd of the screen width, it’ll still be loading a srcset intended for full-width screens.

How can I create individual filters (or any other appropriate method), for each template part so I can control more precisely the sizes in my srcsets?

migração – Como migrar o conteúdo de um site para outro site feito em WordPress?

O cenário é o seguinte:

Eu tenho um site que não foi construído em WordPress e preciso migrar o conteúdo dele para o novo site que é em WordPress.

Como a migração de conteúdo entre sites construídos de maneira diferente é feita?

Recomendações de artigos e outros são muito bem-vindas.

Theme, WordPress Version, MySQL Version, PHP Version Update affected files and folders

How do I keep my Files during WordPress and Theme Updates?

Don’t edit core WordPress files or the files of themes or plugins you didn’t develop yourself. If those are updated they are replaced entirely and you will lose any changes you make.

If you want to customise the theme, create a Child Theme. If you want other functionality, or to customise a plugin, create your own plugin.

During WordPress Update does the custom tables I made will also be gone?

No.

Does MySQL Version Update remove my custom Tables in wordpress?

No. MySQL doesn’t know or care which tables are yours and which are from WordPress.

I will design a professional and responsive wordprss website for $44

I will design a professional and responsive wordprss website

Hi everyone, We are professional word press designer having experience of more than 5 years. We will design a professional, Mobile friendly, And user-friendly Website for your business/ Enterprises or an organization.

We create Attractive, Modern and Responsive WordPress websites for various kind of businesses ,Blog & Magazine,Education,Entertainment,Non-profit,Real estate,Wedding, Portfolio Services,Legal,Saloon,Gym,Health & Fitness,E-commerce Stores

at affordable price.

.