Админка wordpress: все про административную панель wordpress сайта

Description

Define a set of redirect rules for specific users, users with specific roles, users with specific capabilities, and a blanket rule for all other users. Also, set a redirect URL for post-registration. This is all managed in Settings > Login/logout redirects.

You can use the syntax username in your URLs so that the system will build a dynamic URL upon each login, replacing that text with the user’s username. In addition to username, there is “userslug”, “homeurl”, “siteurl”, “postid-23”, “http_referer” and you can also add your own custom URL “variables”. See Other Notes / How to Extend for documentation.

You can add your own code logic before and between any of the plugin’s normal redirect checks if needed. See Other Notes / How to Extend for documentation. Some examples include: redirecting the user based on their IP address; and redirect users to a special page on first login.

This plugin also includes a function that acts the same as the function you see in templates (typically producing the Register or Site Admin links in the sidebar), except that it will return the custom defined admin address. takes three parameters: the “before” code (by default “<li>”), the “after” code (by default “</li>”), and whether to echo or return the result (default is and thus echo).

Custom redirect rules

You can write your own code logic before any of this plugin’s checks for user-specific, role-specific, and capability-specific redirects, as well as before the fallback redirect URL.

An example of plugin code to redirect users on first login. See http://www.theblog.ca/wordpress-redirect-first-login for standalone functionality:

An example of plugin code to redirect to a specific URL for only a specific IP range as the first redirect check:

It takes 3 parameters:

  • $custom_redirect_to: This is set as false in case you don’t have any redirect URL to set. Return this instead of false in case you have multiple filters running.
  • $requested_redirect_to: A redirect parameter set via POST or GET.
  • $user: A PHP object representing the current user.

Custom variable parameters

There is an available filter “rul_replace_variable” for adding your own custom variable names. For example, to replace month in the redirect URL with the numeric representation of the current month (with leading zeros):

Description

Create self-expiring ️, automatic login links for WordPress. Give them to developers when they ask for admin access to your site. Or an editor for a quick review of work done. Login works just by opening the link, no password needed.

Using the “Temporary Login Without Password” plugin you can create a self-expiring account for someone and give them a special link with which they can login to your WordPress without needing a username and password.

You can choose when the login expires, as well as the role of the temporary account.

Really useful when you need to give admin access to a developer for support or for performing routine tasks.

Read this article to know more about what’s the Current Problem – Creating a Separate Admin Login for Outsiders (Devs/ Guest bloggers) and how to avoid this pain, Top Benefits of using this plugin & Why and Who need Temporary Login links.

Benefits of Temporary Logins

Spread The Love ️

If you like Temporary Login Without Password, please leave a and also spread the word about it via and . That helps fellow website owners assess Temporary Login Without Password easily and benefit from it!

What’s Next

If you like this plugin then consider checking out our other solutions:

Smart Manager – Manage & Bulk edit Products, Orders & more..

Icegram – Popups, Welcome Bar, Opt-ins & Lead Generation plugin

Installation

  • Download the plugin file, unzip and place it in your wp-content/plugins/ folder. You can alternatively upload it via the WordPress plugin backend.
  • Activate the plugin through the ‘Plugins’ menu in WordPress.
  • WP User menu will appear in Dashboard->WP User.
  • shortcode
    shortcode for display login, registration, forgot password form.
    You Can use following attribute for custom form

    id : If Multiple Form Add-on activated then create form and set id=’form_id’.
    You can use diffrent registration form for diffrent page.
    Ex.

width : set custom width to login, registration, forgot password form.

popup : set popup=’1′ shortcode for popuup model login, registration, forgot password form.
Ex.

active : For activate default form. By Defualt login.
shortcode for popuup model login, registration, forgot password form. default active registration form
for display default active registration form.(sign up page)
shortcode for display login, registration, forgot password form. default active forgot form

role : Set role for new register user via register form. You can set diffrent role for diffrent form. By Defualt subscriber role
Ex.

login_redirect : Custom login redirection url for each login form.
Ex. [wp_user login_redirect=’www.yoursite.com/redirectPageUlr’] for redirect user after login to custom link. Replace ‘www.yoursite.com/redirectPageUlr’ Url with redirect page Url.

shortcode for display member list/directory
You can use following attributes for filter/show member list

role_in : If you want to show only selected member role in list then set this attribute by comma seprated
Ex.

role_not_in : If you want exclude to show some user roles in member list then set this attribute by comma seprated
Ex.

include : If you want only show selected user ids then set this attribute by comma seprated
Ex.

exclude : If you don’t want show selected user ids then set this attribute by comma seprated
Ex.

approve : If you want show only approve user then set approve=’1′
Ex.

size : If you want change default display member list template to small one then set size=’small’
Ex.

shortcode for display member list/directoryYou can use following attributes for filter/show member listrole_in : If you want to show only selected member role in list then set this attribute by comma separatedEx. role_not_in : If you want exclude to show some user roles in member list then set this attribute by comma separatedEx. include : If you want only show selected user ids then set this attribute by comma separatedEx. exclude : If you don’t want show selected user ids then set this attribute by comma separatedEx. approve : If you want show only approve user then set approve=’1′Ex. template : If you want change default display member list with different layout then set template=Template : Currently we 2 template available for show user listRounded (template=rounded ): set template parameter as rounded.Ex: Default :Ex:

Key,Value : if you want user list display user list on particular page based on user_meta key and value then set Key and Value attribute.If you have pages like Bride, Groom so based on user meta_key you can display or category user using this attributeEx:Bride : Groom :

Use above shortcode respective pages and set metaket as gender and it value male or female.This meta key add using form builder addon and add filed for gender in register/profile form.

You can add multiple key and values in this shortcode.Ex: If you want to add Bride page on site and only for Unmarried’ then add multiple keys and values using comma separated

This meta key add using form builder addon and add filed for gender and maritial_status in register/profile form.

id : If Form builder addon is Activated then filter result based on custom fields.Create new form using form builderAdd field into form which you want to add in custom filterGet form id from listSet id attribute in form and set value as form idEx:

So based on this filter it will filter the result.

your restricted content goes here
shortcode for Restrict Content to registered users only. logged in users only access content
To restrict just a section of content within a post or page, you may use above shortcodes
You can also set user role for access content.
You can use role attribute for only access content to selected user role:
Ex. your restricted content goes here
Ex. your restricted content goes here
Ex. your restricted content goes here : logged in users only access content
To restrict an entire post or page, simply select the user role you’d like to restrict the post or page to from the drop down menu added just below the post/page editor.

Manual Update # Manual Update

These are the short instructions, if you want more check out the extended upgrade instructions. If you experience problems with the Three Step Update, you may want to review the more detailed upgrade instructions.

For these instructions, it is assumed that your blog’s URL is .

Step 1: Replace WordPress files

  1. Get the latest WordPress zip (or tar.gz) file.
  2. Unpack the zip file that you downloaded.
  3. Deactivate plugins.
  4. Delete the old  and  directories on your web host (through your FTP or shell access).
  5. Using FTP or your shell access, upload the new  and  directories to your web host, in place of the previously deleted directories.
  6. Upload the individual files from the new  folder to your existing  folder, overwriting existing files. Do NOT delete your existing  folder. Do NOT delete any files or folders in your existing  directory (except for the one being overwritten by new files).
  7. Upload all new loose files from the root directory of the new version to your existing WordPress root directory.

NOTE – you should replace all the old WordPress files with the new ones in the  and  directories and sub-directories, and in the root directory (such as , and so on). Don’t worry – your will be safe.

Be careful when you come to copying the directory. You should make sure that you only copy the files from inside this directory, rather than replacing your entire directory. This is where your themes and plugins live, so you will want to keep them. If you have customized the default or classic themes without renaming them, make sure not to overwrite those files, otherwise you will lose your changes. (Though you might want to compare them for new features or fixes..)

Lastly you should take a look at the file, to see if any new settings have been introduced that you might want to add to your own .

Step 1.5: Remove .maintenance file

If you’re upgrading manually after a failed auto-upgrade, delete the file .maintenance from your WordPress directory using FTP. This will remove the “failed update” nag message.

Step 2: Update your installation

Visit your main WordPress admin page at /wp-admin. You may be asked to login again. If a database upgrade is necessary at this point, WordPress will detect it and give you a link to a URL like . Follow that link and follow the instructions. This will update your database to be compatible with the latest code. You should do this as soon as possible after step 1.

Don’t forget to reactivate plugins!

Step 3: Do something nice for yourself

If you have caching enabled, clear the cache at this point so the changes will go live immediately. Otherwise, visitors to your site (including you) will continue to see the old version (until the cache updates).

Your WordPress installation is successfully updated. That’s as simple as we can make it without Updating WordPress Using Subversion.

Consider rewarding yourself with a blog post about the update, reading that book or article you’ve been putting off, or simply sitting back for a few moments and letting the world pass you by.

Media – Add pictures and movies to your posts # Media – Add pictures and movies to your posts

Media is the images, video, recordings, and files, you upload and use in your blog. Media is typically uploaded and inserted into the content when writing a Post or Page. Note that the Uploading Files section in the Settings Media Screen describes the location and structure of the upload directory.

Library

The Media Library Screen allows you add, edit, delete or view Media previously uploaded to your blog. Multiple Media objects can be selected for deletion. Search and filtering ability is also provided to allow you to find the desired Media.

Add New Media

The Media Add New Screen allows you to upload new media to later use with posts and pages. A Flash Uploader is provided and the ability to use a Browser Uploader is supplied if the Flash Uploader does not work.

Edit Media

The Edit Media page allows you to edit the information (title, caption, alt text, etc.) of media files uploaded to your site. This page does not appear as a link in the main Dashboard navigation, but is reached by clicking on the Edit link in the Media Library Screen that appears when you hover over each item, or when uploading media for the first time on the Media Add New Screen once your upload has completed.

Through phpMyAdmin # Through phpMyAdmin

This article is for those who have phpMyAdmin access to their database. Note: use phpMyAdmin at your own risk. If you doubt your ability to use it, seek further advice. WordPress is not responsible for loss of data.

  1. Begin by logging into phpMyAdmin and clicking databases.
  2. A list of databases will appear. Click on your WordPress database.

phpMyAdmin database select

  1. All the tables in your database will appear. If not, click Structure.
  2. Look for wp_users in the Table column.
  3. Click on the icon for browse.
  4. Locate your username under user_login
  5. Click edit (may look like a pencil icon in some versions of phpMyAdmin).

phpMyAdmin select users table

  1. Your user_id will be shown. Click on Edit.
  2. Next to the user_pass is a long list of numbers and letters.
  3. Select and delete these and type in your new password.
  4. Type in the password you want to use. You can type it in normally–but remember, it is case-sensitive.
  5. In this example, the new password will be ‘rabbitseatcarrots.’
  6. Once you have done that, click the dropdown menu indicated, and select MD5 from the menu.

phpMyAdmin select MD5 function on user_pass row

  1. Check that your password is actually correct, and that MD5 is in the box.

phpMyAdmin user_pass row with MD5 function and “rabbitseatcarrots” as the password

  1. Click the ‘Go’ button to the bottom right.
  2. Test the new password on the login screen. If it doesn’t work, check that you’ve followed these instructions exactly.

Changelog

  • Fixed bug where redirect after logout wasn’t working.
  • Fixed issue where login was failing with special characters in username/password.

1.5

  • Cloning of login, password reset and registration form added.
  • Added toggle icon to meta boxes.
  • Changed all doc links to https
  • Fixed bug where clicking on password reset link on site without pretty permalink was failing.
  • Change text domain to ‘ppress’ and added POT file.

1.4.4

  • Entered username/email address during password reset is now cleared after every reset attempt.
  • Login form without ‘remember me’ checkbox default to long expiring session.
  • Code and performance improvements.

1.4.3

  • pp_site_url_without_scheme() now return just the host address even if the WordPress install is in e.g domain.tld/wp
  • Compatibility test with 4.8 successful.

1.4

  • Codemirror assets now loaded only on pp builder pages.
  • Added server-side validation of required fields.
  • Performance enhancements and minor bug fixes.

1.3.1

  • Fixed mixed content warning in console for Rye google font css import rule.
  • Added detection of ssl flag during login via profilepress login forms.
  • Heartbeat auth check now return default wp login page instead of ProfilePress page.
  • Performance enhancements.

1.3

  • Increase plugin security hardening.
  • New: Addition of buttons to install/re-installer starter forms.
  • Lots of bug fixes and code improvements.
  • Performance enhancements.

1.2.4

  • Added user id to pp_after_Registration action hook
  • Added filter to password reset sender name and email address
  • Added feature for WordPress to cleanup query args.
  • Added notice when registration is disabled in WordPress

1.2

  • Front-end reset of password now live.
  • Fixed profilepress menu displaying in non-admin user dashboard.
  • Fixed fzbuk login form css.
  • Made admin notices dismissible.

1.1

  • Fixed problem when plugin in multisite causes 500 internal server error.
  • Removed network_admin_menu from plugin
  • improve plugin uninstallation for multisite
  • Few bug fixes and code improvements.

Common Installation Problems # Common Installation Problems

The following are some of the most common installation problems. For more information and troubleshooting for problems with your WordPress installation, check out FAQ Installation and FAQ Troubleshooting.

I see a directory listing rather than a web page.

The web server needs to be told to view index.php by default. In Apache, use the DirectoryIndex index.php directive. The simplest option is to create a file named .htaccess in the installed directory and place the directive there. Another option is to add the directive to the web server’s configuration files.

I see lots of Headers already sent errors. How do I fix this?

You probably introduced a syntax error in editing wp-config.php.

  1. Download wp-config.php (if you don’t have access).
  2. Open it in a .
  3. Check that the first line contains nothing but <?php, and that there is no text before it (not even whitespace).
  4. Check that the last line contains nothing but ?>, and that there is no text after it (not even whitespace).
  5. If your text editor saves as Unicode, make sure it adds no byte order mark (BOM). Most Unicode-enabled text editors do not inform the user whether or not it adds a BOM to files; if so, try using a different text editor.
  6. Save the file, upload it again if necessary, and reload the page in your browser.

My page comes out gibberish. When I look at the source I see a lot of “<?php ?>” tags.

If the <?php ?> tags are being sent to the browser, it means your is not working properly. All PHP code is supposed to be executed before the server sends the resulting to your web browser. (That’s why it’s called a preprocessor.) Make sure your web server meets the requirements to run WordPress, that PHP is installed and configured properly, or contact your hosting provider or system administrator for assistance.

I keep getting an Error connecting to database message but I’m sure my configuration is correct.

Try resetting your MySQL password manually. If you have access to MySQL via shell, try issuing:

SET PASSWORD FOR 'wordpressusername'@'hostname' = OLD_PASSWORD('password');

If you do not have shell access, you should be able to simply enter the above into an SQL query in phpMyAdmin. Failing that, you may need to use your host’s control panel to reset the password for your database user.

I keep getting an Your PHP installation appears to be missing the MySQL extension which is required by WordPress message but I’m sure my configuration is correct.

Check to make sure that your configuration of your web-server is correct and that the MySQL plugin is getting loaded correctly by your web-server program. Sometimes this issue requires everything in the path all the way from the web-server down to the MySQL installation to be checked and verified to be fully operational. Incorrect configuration files or settings are often the cause of this issue.

My image/MP3 uploads aren’t working.

If you use the Rich Text Editor on a blog that’s installed in a subdirectory, and drag a newly uploaded image into the editor field, the image may vanish a couple seconds later. This is due to a problem with TinyMCE (the rich text editor) not getting enough information during the drag operation to construct the path to the image or other file correctly. The solution is to NOT drag uploaded images into the editor. Instead, click and hold on the image and select Send to Editor.

Edit Users Table # Edit Users Table

Access your site’s phpMyAdmin and edit the database carefully.

  • Open the WordPress database.
  • Click on the users table in the left menu (default is , or if you defined a different table prefix.)
  • Click BROWSE.
  • Click on the EDIT button next to the admin user.
  • Delete whatever is in the password field.
  • Enter your desired password.
  • From the Function drop-down list, choose MD5.
  • Save the info in the database.
  • Log in to WordPress using “admin” and the password you used.
  • In the case of newer versions of WordPress, the password is double hashed, but as long as you md5 the password, it will complete the hash (it upgrades your password for you).

Common Layout # Common Layout

Each Administration Screen is presented in sections, the toolbar (and header), the main navigation, the work area, and the footer.

Administration Screen

Toolbar has links to various administration functions, and is displayed at the top of each Administration Screen. Many Toolbar items expand (flyout) when hovered over to display more information.

Main Navigation menu details each of the administrative functions you can perform. At the bottom of that section is a Collapse menu button that shrinks the menu into a set of icons, or to expands to list them by major function. Within each major function, such as Posts, the sub-menu expands (fly-out) when hovered over, and expands fully if an item clicked.

In the work area, the specific information relating to a particular navigation choice, such as adding a new post, is presented and collected.

Footer, at the bottom of each Administration Screen in light shading, are links to WordPress, thanking you for using it, and the version of WordPress you have installed is shown.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

Adblock
detector