This is a hot topic that i found and it creates a huge problems as some computers in the network after upgrading to windows 10 anniversary edition 1703 the fonts break
If you ever wondered how to style a text separator without adding extra classes to menus this is the way to go
#some_id a[href=”#”] {
cursor:default;
background: none ;
font-weight:bold;
}
or
.some_class a[href=”#”] {
cursor:default;
background: none ;
font-weight:bold;
}
To export a MySQL database, you need to use the mysqldump command. Here is the full command for exporting your database:
mysqldump -uUSERNAME -pPASSWORD DATABASE > backup.sql
Make sure you replace USERNAME, PASSWORD and DATABASE with the appropriate values for your database. The MySQL database will be exported to a file named “backup.sql” in your current directory. The name of the MySQL dump you are exporting to can be whatever you want.
2. Importing a MySQL database
To import a MySQl database, you need to use the mysql command. Here is the full command for importing a MySQL dump into a database:
mysql -uUSERNAME -pPASSWORD DATABASE < backup.sql
Make sure you replace USERNAME, PASSWORD and DATABASE with the appropriate values for your database. For DATABASE you must use an existing database.
Make a .htaccess if you already don t have in the root of your public_html and past the following code inside if you have WordPress already installed
# BEGIN WordPress<IfModule mod_rewrite.c>RewriteEngine OnRewriteBase /RewriteRule ^index\.php$ – [L]RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule . /index.php [L]</IfModule># END WordPress
Prerequisite: install and enable https://wordpress.org/plugins/php-text-widget/
insert the following code in a text widget, notice $page_id = 803; you need to make this number according to your page ID
class=”uk-button uk-button-primary” this applies to yootheme warp7 framework
Read more -> this can be changed to something else like “View More” or change language
<?php$page_id = 803;$page_data = get_page( $page_id );$content = $page_data->the_excerpt;$title = $page_data->post_title;echo ‘<h3>’. $page_data->post_title .'</h3>’;echo the_excerpt( $page_id );echo ‘<a class=”uk-button uk-button-primary” href=”‘.get_permalink( $post_id ).'”>Read more</a>’;?>