WordPress at a glance
Главная Functions Template Tags Links (URL)

Category: Links (URL) 16

admin_url()

Retrieves the URL to the admin area for the current site. Takes into account protocols (http and https).

edit_bookmark_link()

Displays the edit bookmark link anchor content.

edit_comment_link()

Displays the edit comment link with formatting.

edit_post_link()

Displays the edit post link for a post, if the user is allowed to change the post.

edit_tag_link()

Displays or retrieves the edit link for a tag with formatting.

get_admin_url()

Retrieves the URL to the admin area for a given site.

get_delete_post_link()

Retrieves the delete posts link for post.

get_edit_post_link()

Retrieves the link (URL) for edit post in admin-panel.

get_home_url()

Retrieves the URL for a given site where the front end is accessible.

get_permalink()

Gets a permanent link to the current or specified post, for further use in php.

get_search_query()

Retrieves the contents of the search WordPress query variable.

get_site_url()

Retrieves the URL for a given site where WordPress application files (e.g. wp-blog-header.php or the wp-admin/ folder) are accessible.

get_theme_file_uri()

Retrieves the URL of a file in the theme.

home_url()

Retrieves the URL for the current site where the front end is accessible.

site_url()

Retrieves the URL for the current site where WordPress application files (e.g. wp-blog-header.php or the wp-admin/ folder) are accessible.

the_permalink()

Displays link (URL) to the post that is currently being processed in the Loop.