Fully Automated WordPress Tarot Blog – 100% Autopilot + Google News + Tumblr + OTO

Fully Automated WordPress site for sale with very high potential. No technical knowledge required.

This is a new project growing up and I am sure that with a little push you will boost the visits.

  • Domain: seo-service.online
  • Moz metrics: DA: 4 | PA: 9
  • Semrush Metrics: Authority Score: 11
  • Domain on GoDaddy until March 2022
  • No maintenance needed
  • No technical knowledge required
  • Fully Automated. Update daily and unique content.
  • It’s…

Fully Automated WordPress Tarot Blog – 100% Autopilot + Google News + Tumblr + OTO

WordPress site goes blank in random intervals

I’ve a WordPress site which 2 or 3 times a week rewrites the index.php and .htaccess files. After it happens the site goes blank, can’t open /wp-admin or anything else for that matter. Each time I have to replace the index.php and .htaccess files with the originals to pull the site back.

This is a fragment of the index.php after WordPress modifies it:

enter image description here

and this is the modified .htaccess:

<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^(index|wp\-admin|wp\-include|wp\-comment|wp\-loader|wp\-corn\-sample|wp\-logln|output|about|admin|wp\-ver).php$   - [L] RewriteRule . index.php [L] </IfModule> 

I tried removing write privilege from these files, yet they keep being overwritten.

I tried disabling plugins, but it still happens. Can a removed plugin still affect the site?

I’m using a theme called Avada.

What could be causing this problem? Any help would be greatly appreciated.

Prevent WordPress from sending set-cookie http header

For some reason WordPress is setting "Set-Cookie" in the header of the entire site, this is telling my cache server not to cache the page, I tried to remove it via .htaccess, but it disabled the entire site and not I was able to log in more to the admin panel

How can I remove the "Set-cookie" from the http headers only on the frontend of my website? This is in the home, tags, search, blog, etc…

curl -I https://meusite.comHTTP/1.1 200 OK Date: Sun, 12 Sep 2021 22:19:41 GMT Set-Cookie: ppwp_wp_session=0000000000000000000000000000000000000000000000000 expires=Sun, 12-Sep-2021 22:49:41 GMT; Max-Age=1800; path=/ cache-Control: public s-maxage=230 Link: <https://meusiet.com/wp-json/>; rel="https://api.w.org/" Link: <https://meusiet.com/wp-json/wp/v2/posts/1087>; rel="alternate"; type="application/json" Link: <https://meusiet.com/?p=1087>; rel=shortlink Content-Type: text/html; charset=UTF-8 Transfer-Encoding: chunked X-CACHE: miss Alt-Svc: clear 

How to Leverage Browser Caching for Fonts in WordPress

I am using WordPress along with Autoptimize and Cloudflare, and using Locally hosted fonts. I can’t leverage browser caching on my site.

I tried using Cloudflare Page rules to Leverage 1 year browser caching on all resources.

It worked, and most of my site was getting cached EXCEPT FONTS.

I know fonts are heavy and can have negative impact on performance.

I tried the following code in htaccess file in my server root.

# Fonts # Add correct content-type for fonts AddType application/vnd.ms-fontobject .eot  AddType application/x-font-ttf .ttf AddType application/x-font-opentype .otf AddType application/x-font-woff .woff AddType image/svg+xml .svg  <IfModule mod_expires.c>     ExpiresActive on     ExpiresDefault "access plus 2 days"     ExpiresByType application/vnd.ms-fontobject "access plus 1 year"     ExpiresByType application/x-font-ttf "access plus 1 year"     ExpiresByType application/x-font-opentype "access plus 1 year"     ExpiresByType application/x-font-woff "access plus 1 year"     ExpiresByType application/font-woff2  "access plus 1 year" </IfModule> # END Expire headers  # BEGIN Cache-Control Headers <ifModule mod_headers.c>     <filesMatch "\.(ico|jpe?g|png|gif|swf|mp4|mov|css|js|json|woff|woff2)$  ">         Header add Cache-Control "public"     </filesMatch>     <filesMatch "\.(x?html?|php)$  ">         Header add Cache-Control "private, must-revalidate"     </filesMatch> </ifModule>  

But it didn’t work.

As far as I know the below above code should have done the trick to cache the Fonts and JSON.

Please help me figure out the correct way to implement it.

Warnings about fonts not being cached:

Leverage browser caching of static assets: 91/100 Learn More WARNING – (2.0 days) – https://milyin.com/superpwa-manifest.json

Leverage browser caching of static assets: 91/100 Learn More WARNING – (2.0 days) – https://milyin.com/wp-content/uploads/omgf/neve-google-font-poppins/poppins-normal-700.woff2

WARNING – (2.0 days) – https://milyin.com/wp-content/uploads/omgf/neve-google-font-poppins/poppins-normal-400.woff2

WARNING – (2.0 days) – https://milyin.com/wp-content/uploads/omgf/neve-google-font-poppins/poppins-normal-500.woff2

Creating a new Sortable Column in WordPress Admin

I have a press release category on my WordPress site and there is too much posts being submitted and its taking up space in the All Posts and Published section of my WordPress admin, I’m wondering if there is a way to create a new sortable column where I can hide press releases category from the All Posts and Published column and make it only show in the new sortable column?

Is this possible?

WordPress Favicon not Working For Images/Videos/PDFs

I am using WordPress with Neve theme, for my site, Favicon is working on posts/pages, but Favicons aren’t visible for JPG/PNG/Videos.

If I use the Theme Customizer and select the Favicon PNG image, it shows on all posts and images etc.

But I want to have different Favicon Images on different URLs.

I saw that Theme was adding the below code on my site in Head.

<link rel="apple-touch-icon" sizes="72x72" href="https://milyin.com/wp-content/uploads/Icons/Icon72x72.png"> <link rel="icon" type="image/png" sizes="32x32" href="https://milyin.com/wp-content/uploads/Icons/Icon32x32.png"> <link rel="icon" type="image/png" sizes="16x16" href="https://milyin.com/wp-content/uploads/Icons/Icon16x16.png"> 

this code was inserted wp_head to make it work.

It works perfectly on my posts and pages. For example the post How Does Elon Musk Manage all his Companies Effectively? the favicon is visible perfectly.

But if I Image from the save post The Image shows favicon as WordPress logo instead of my site logo.

How to make it WordPress logo programatically.

What’s the default order used by WordPress to load CSS files?

I am working with a commercial theme on which I am making some style changes. Specifically, the parent theme shows a menu which I want to modify. The code for that menu is:

 <div class="mobile-navigation hidden-md hidden-lg">         <div id="close-menu-moblie">             <a href="#">                 <i class="icon-close icons"></i>             </a>         </div>    <div class="mobile-menu-container">         <ul id="menu-menu-movil" class="nav-menu mobile-menu">             <li id="menu-item-4723" class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-4723 active">                 <a href="/" aria-current="page">La Familia</a>             </li>             <li id="menu-item-4724" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-4724">                 <a href="/tierras.html">La Tierra</a>             </li> 

So I created a child theme and added some CSS to it in its style.css file:

#menu-menu-movil li > a {     font-weight: 500;     font-family: Poppins, Arial, sans-serif;     } 

No way: the site ignores my changes. When I inspect the HTML I see that the browser is applying instead CSS instructions from the parent theme that target different classes:

.mobile-navigation .nav-menu > li > a {     font-size: 16px;     color: #1a1a1a;     font-weight: bold;     text-transform: capitalize; } 

So I think that it’s a problem with conflicting CSS instructions and their level of specificity or whatever… but then I try opening the CSS editor in WP Admin at "Appearance / Customise / Additional CSS" and pasting there my changes… and they work.

This led me to think: is there a default order in which WordPress loads CSS from all the possible places where they can be? ("Additional CSS", child themes, parent themes…). I seem to remember that there was, but after searching around on Google for a while I couldn’t find anything. Or is my problem in the end about CSS specificity?

WordPress Lazy Load

I can lazily load the pages I want. As soon as I select a category from the filter, the category I selected brings the products, but then it starts to load all the products, how can I prevent this?

Following my code : jQuery

jQuery(document).ready(function (){         let page = 1;         let action = 'inactive';         let params = JSON.parse('<?=json_encode($  params)?>');          let checkInput =  jQuery("input[name^='filter']:checked");         let checkInputVal =  jQuery("input[name^='filter']:checked").val();         if (jQuery(checkInput).is(':checked')) {                 params.show_category_filter='yes';             params.category_values=checkInputVal;             params.category=checkInputVal;         }          else if(jQuery(checkInput).not(':checked')) {             function load_country_data(page) {                 params.paged = page;                 params.action = 'test';                 console.log(params);                 jQuery.ajax({                     url: "https://techschuh.com/wp-admin/admin-ajax.php",                     method: "POST",                     data: params,                     cache: false,                      success: function (data) {                         let dataResponse = JSON.parse(data)                         //console.log(dataResponse.html);                         jQuery('.eltdf-masonry-list-wrapper').append(dataResponse.html);                                             if(dataResponse) {                             jQuery('#load_data_message').html("Please Wait.");                               action="inactive";                          } else  {                             alert("Data Not Found");                             action='active';                          }                     }                 });              }         }         if (action === 'inactive') {             action = 'active';             load_country_data(page);         }         jQuery(window).scroll(function () {             if (jQuery(window).scrollTop() + jQuery(window).height() > jQuery('#load_data').height() &&                 action == 'inactive') {                 action = 'active';                 page += 1                  setTimeout(function () {                     load_country_data(page);                 }, 500);             }          });     });