The ACF plugin is needed to create and display additional fields for articles. For example, we need to add the color field to articles and display it in the template. The procedure is standard: go to Plugins – Add new – search for ACF (Advanced Custom Fields), install and activate. …
Read More »Shadow around an image or block
Perhaps in this article there will be different options for the shadow with examples. But for now, I’m posting the most used option for me: box-shadow: 0 0 10px rgba(0,0,0,0.5);
Read More »If the link contains the word
The case: If a word occurs in the URL, then you need to display some text. For example, if the URL contains “hahaha”, then on the page you need to display the text “description of the text hahaha”. PHP solution: <?php if(strpos($_SERVER['REQUEST_URI'], 'hahaha') !== false){ echo "description of the text …
Read More »How to display Breadcrumb NavXT in WordPress theme
In this article, I do not want to describe the detailed process of installing the Breadcrumb NavXT plugin, but if someone really needs it: Go to the WordPress panel in the Plugins section – Add New. Search for Breadcrumb NavXT, install and activate it. This plugin will not be automatically …
Read More »How to take a screenshot on a Macbook
Most often, I use the Screenfly Chrome extension for screenshots if I need to save a screenshot of the page locally, or the Joxy extension if I need to send a screenshot to someone. But sometimes I have to take screenshots using the Macbook itself, and I persistently forget the …
Read More »How to find all screenshots on your Macbook
By default, on a Mac, screenshots taken with Shift Command 4 are saved to the desktop. Very often they are renamed there, very often copied to other folders and renamed. The Mac has a great way to find all the screenshots ever taken on that computer. Open Finder, In the …
Read More »Rounded Rectangle Tool not showing in Adobe Illustrator 2019
In the video tutorials the teachers say – now click on the “Rectangle tool” button and select the “Rounded Rectangle Tool”. You pause the lesson, go back to your Adobe Illustrator interface and click on this button, and the “Rounded Rectangle Tool” is not visible. You return to the video …
Read More »“Parse error functions.php on line 1064” when installing WordPress
The error that occurred when installing a fresh version of WordPress on a new hosting: Parse error: syntax error, unexpected '.', expecting '&' or variable (T_VARIABLE) in /wp-includes/functions.php on line 1064 The solution turned out to be extremely simple: the PHP 5.4 version was activated on the hosting, when the …
Read More »How to remove all menu items in WordPress admin panel
It often happens that you need to delete all the menu items. This is easy to do using the single-item deletion method, but how to solve the problem if there are 100 menu items? Yes, there are many sites with long lists of directories/categories and huge navigation. Another case: you …
Read More »How to remove wpemoji from the WordPress
Many people think that emoticon icons should be bright and pretty. And WordPress decided that from version 4.2 it would be super-modern if a lot of garbage was added to its source code. Now in the head of your site, you can see code like this: To free WordPress from …
Read More »