Note Settings

The Text Settings on Notewraps lets you set text settings for a new note. Note Settings lets you change the text settings for a note after you have created it.You can view, change and set certain attributes of an existing note using the settings view of a note. To access note settings tap the settings button as shown in the first screenshot below. You can change the text format settings such as font size and line spacing and set certain other attributes of an individual note. You can customise text format settings such as font size of a note but you cannot change the font of the note once it has been created.

To customise certain attributes of a note go to the note and tap the settings button as shown in the  first screenshot, it will present the Note Settings View which allows you to change the font size and line spacing and set the content type attribute. Simply change the font size or line spacing to what you prefer and set the content type of the note. The content type by default is body and is applicable if the note is added to a notebook and note will become part of the body of the notebook and will get a page number if notebook exported to pdf, e.g. if you are writing a book then you can create a title page and set the content type to front matter, front matter on Notewrap won’t have a page number when you publish the book as pdf. You can similarly customise a photo note which also has a settings button.

Continue Reading

How to Install and Configure WordPress JWT Auth Plugin?

JWT Auth Plugin lets WordPress authenticate users from mobile apps.
Install the JWT Auth Plugin and activate it from your dashboard.

To configure the JWT Auth Plugin follow the steps below:
1) Edit the .htaccess file and add the following lines to it.
RewriteEngine on
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule ^(.*) – [E=HTTP_AUTHORIZATION:%1]
You have to use the File Manager of WordPress to edit the .htaccess file.
If you are using the services of a website hosting provider e.g. Dream Host, then they have their own file manager to manage WordPress files, you can use their file manager to locate and edit .htaccess file.
Open the file Manager and it will list all your WordPress files. You should see a few folders, open the folder with name of your site, eg. (example.com).
You will see the .htaccess file in this folder e.g. (example.com). Open and edit the .htaccess file and add the above lines to it.
If you notice that “RewriteEngine On” line already exists then insert the lines below it, just below RewriteEngine On, it’s important that we follow the sequence.
Most of the shared hosting have disabled the HTTP Authorization Header by default and this enables it.
If you need any help on how to locate and use the File Manager, do get in touch with support team of your WordPress hosting provider.

2) Continue to edit the .htaccess file and add the follow line to it.
SetEnvIf Authorization “(.*)” HTTP_AUTHORIZATION=$1
Just add it below the 3 lines that you added in Step 1
This enables the WPENGINE.

After completion of Step 1 and 2 your .htaccess file should look somewhat like as shown below.
# BEGIN WordPress
# The directives (lines) between “BEGIN WordPress” and “END WordPress” are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.

RewriteEngine On
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule ^(.*) – [E=HTTP_AUTHORIZATION:%1]
SetEnvIf Authorization “(.*)” HTTP_AUTHORIZATION=$1
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

3) Edit the wp-config.php file and add Secret Key that is used to authenticate.
To add the secret key edit the wp-config.php file and add the following line.
define(‘JWT_AUTH_SECRET_KEY’, ‘your-top-secret-key’);

You can replace the string “your-top-secret-key” with a key from here -> https://api.wordpress.org/secret-key/1.1/salt/
After you edit the above files and add the above lines do save the file.
The wp-config.php file is in the same example.com folder where .htaccess file is.

After you have configured the JWT Auth Plugin as mentioned above and saved the files, you can sign in to WordPress with your credentials from Notewrap.

Continue Reading

Publish Posts to WordPress

Publish posts to your self hosted WordPress(.org) site right from Notewrap. Before you SignIn from Notewrap to WordPress, you’ve to download and install JWT Auth Plugin. Follow the instructions in the description of this plugin to configure the plugin.  A detail description is here -> How to Install and Configure WordPress JWT Auth Plugin? 

JWT Auth is an industry standard  RFC7519 authentication method recommended by WordPress to authenticate WordPress users via a mobile App.

Once you have installed and configured properly the JWT Auth Plugin, you can SignIn with your WordPress username, password and site details to your self hosted WordPress site and start posting notes as blogs directly from Notewrap app.

Continue Reading
Close Menu