Open functions.php and add the below code to add class on anchors function add_link_atts($atts) { $atts['class'] = "nav-link"; return $atts; } add_filter( 'nav_menu_link_attributes', 'add_link_atts');
Open functions.php and add the below code to add class on anchors
Below you have all versions you can use any one of these to change the PHP version. To switch to PHP 5.6: AddHandler application/x-httpd-php56 .php .php5 .php4 .php3 To switch to PHP 7: AddHandler application/x-httpd-php70 .php .php5 .php4 .php3 To switch to PHP 7.1: AddHandler application/x-httpd-pRead more
Below you have all versions you can use any one of these to change the PHP version.
Hi, here you have CSS keyframes. HTML <span class="flash">Flash</span> Use below CSS .text-flash { animation: flash 1s linear infinite; } @keyframes flash { 50% { opacity: 0; } }
.htaccess can help to block access to wp-admin or wp-login.php and you can add your IP address on allow from, so this can help to access the wp-admin only by your IP address. Add below code that will help to block the users from accessing the wp-admin. <files wp-login.php> Order Deny,Allow denRead more
.htaccess can help to block access to wp-admin or wp-login.php and you can add your IP address on allow from, so this can help to access the wp-admin only by your IP address. Add below code that will help to block the users from accessing the wp-admin.
<files wp-login.php>
Order Deny,Allow
deny from all
allow from 122.18.231.8
allow from 182.1.1.12
</files>
You need to restore ownership of the user’s npm related folders for the current users. Use the below code to change the ownership. sudo chown -R $USER:$GROUP ~/.npm sudo chown -R $USER:$GROUP ~/.config
You need to restore ownership of the user’s npm related folders for the current users. Use the below code to change the ownership.
Use the below code to disable the selection. (function($){ $.fn.disableSelection = function() { return this .attr('unselectable', 'on') .css('user-select', 'none') .on('selectstart', false); }; })(jQuery);
By mistake maybe you might hide edges, Using the following shortcut key will help you to solve the problem. ctrl-H and on Mac cmd-H which toggles ‘Hide edges’ on and off.
By mistake maybe you might hide edges, Using the following shortcut key will help you to solve the problem.
ctrl-H and on Mac cmd-H which toggles ‘Hide edges’ on and off.
See ending with .local, .config, etc.. these files of the permissions that indicates there’s an SELinux context included. You require to get that right for your user to be authorized to list the contents of the directory. sudo ls -alZ Note: The (-Z) option shows the SELinux contexts.
See ending with .local, .config, etc.. these files of the permissions that indicates there’s an SELinux context included. You require to get that right for your user to be authorized to list the contents of the directory.
How to smooth scroll to ID with jQuery
Harish
Add the below code on your project file to get the smooth scroll for the given ID.
Add the below code on your project file to get the smooth scroll for the given ID.
See lessHow to add class to anchors on WordPress menu
Harish
Open functions.php and add the below code to add class on anchors function add_link_atts($atts) { $atts['class'] = "nav-link"; return $atts; } add_filter( 'nav_menu_link_attributes', 'add_link_atts');
Open functions.php and add the below code to add class on anchors
See lessHow to bookmark a page using button?
Harish
Use the below code that will help you to do that. Bookmark This Page
Use the below code that will help you to do that.
See lessHow to add Material icon in Angular?
Harish
Use the below method npm install material-icons and import the below code in your style.css @import '~material-icons/iconfont/material-icons.css';
Use the below method
and import the below code in your style.css
See lesshow to change the PHP version using .htaccess on server
Harish
Below you have all versions you can use any one of these to change the PHP version. To switch to PHP 5.6: AddHandler application/x-httpd-php56 .php .php5 .php4 .php3 To switch to PHP 7: AddHandler application/x-httpd-php70 .php .php5 .php4 .php3 To switch to PHP 7.1: AddHandler application/x-httpd-pRead more
Below you have all versions you can use any one of these to change the PHP version.
To switch to PHP 5.6:
To switch to PHP 7:
To switch to PHP 7.1:
To switch to PHP 7.2:
To switch to PHP 7.3:
See lessHow to create blinking or flashing text effects with CSS3
Harish
Hi, here you have CSS keyframes. HTML <span class="flash">Flash</span> Use below CSS .text-flash { animation: flash 1s linear infinite; } @keyframes flash { 50% { opacity: 0; } }
Hi,
here you have CSS keyframes.
HTML
Use below CSS
See lessgit pull – fatal: refusing to merge unrelated histories
Harish
Yes now it's working perfectly thank you :D
Yes now it’s working perfectly thank you 😀
See lessBlock access to wp-admin or wp-login.php
Harish
.htaccess can help to block access to wp-admin or wp-login.php and you can add your IP address on allow from, so this can help to access the wp-admin only by your IP address. Add below code that will help to block the users from accessing the wp-admin. <files wp-login.php> Order Deny,Allow denRead more
.htaccess can help to block access to wp-admin or wp-login.php and you can add your IP address on allow from, so this can help to access the wp-admin only by your IP address. Add below code that will help to block the users from accessing the wp-admin.
See lessOn npm install: Unhandled rejection Error: EACCES: permission denied
Harish
You need to restore ownership of the user’s npm related folders for the current users. Use the below code to change the ownership. sudo chown -R $USER:$GROUP ~/.npm sudo chown -R $USER:$GROUP ~/.config
You need to restore ownership of the user’s npm related folders for the current users. Use the below code to change the ownership.
See lessHow to disable text selection using jQuery?
Harish
Use the below code to disable the selection. (function($){ $.fn.disableSelection = function() { return this .attr('unselectable', 'on') .css('user-select', 'none') .on('selectstart', false); }; })(jQuery);
Use the below code to disable the selection.
See lessHow to search for a file in the CentOS command line
Harish
Here you have the solution. replace the filename to search the particular file. find / -name filename
Here you have the solution. replace the filename to search the particular file.
See lessAuthorization failed. Make sure polkit agent is running or run the application as superuser.
Harish
Use “sudo” before the command like below: sudo firewall-cmd --zone=public --add-port=80/sctp --permanent
Use “sudo” before the command like below:
See lesshow to see handles and anchor point missing in adobe illustrator?
Harish
By mistake maybe you might hide edges, Using the following shortcut key will help you to solve the problem. ctrl-H and on Mac cmd-H which toggles ‘Hide edges’ on and off.
By mistake maybe you might hide edges, Using the following shortcut key will help you to solve the problem.
ctrl-H and on Mac cmd-H which toggles ‘Hide edges’ on and off.
See lessPermission errors even though permissions are wide open
Harish
See ending with .local, .config, etc.. these files of the permissions that indicates there’s an SELinux context included. You require to get that right for your user to be authorized to list the contents of the directory. sudo ls -alZ Note: The (-Z) option shows the SELinux contexts.
See ending with .local, .config, etc.. these files of the permissions that indicates there’s an SELinux context included. You require to get that right for your user to be authorized to list the contents of the directory.
Note: The (-Z) option shows the SELinux contexts.
See less