{"id":10871850,"date":"2018-11-16T14:03:39","date_gmt":"2018-11-16T14:03:39","guid":{"rendered":"https:\/\/wordpress.org\/support\/?post_type=helphub_article&#038;p=10871850"},"modified":"2023-01-12T21:07:55","modified_gmt":"2023-01-12T21:07:55","slug":"faq-work-with-wordpress","status":"publish","type":"helphub_article","link":"https:\/\/wordpress.org\/documentation\/article\/faq-work-with-wordpress\/","title":{"rendered":"FAQ Work with WordPress"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Administration<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Can my posts have URL instead of \/index.php?p=76?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">See:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"\/support\/article\/using-permalinks\/\">Using Permalinks<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">How long is the release cycle of WordPress?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A major release of WordPress happens every 6 months or so. Suggest and vote on ideas for future releases at <a href=\"https:\/\/wordpress.org\/ideas\/\">the WordPress Extend Ideas site<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Also refer <a href=\"https:\/\/codex.wordpress.org\/WordPress Versions\">WordPress Versions<\/a> for the chronologically listed versions of WordPress along with the Change Log information on new features and improvements in each version. There are the future releases and links to their respective milestones in the bug tracker.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How do I turn on Permalinks, and what do I do about the errors?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">See:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"\/support\/article\/using-permalinks\/\">Using Permalinks<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">What are Roles for and what permissions do different Roles have?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">See:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/wordpress.org\/documentation\/article\/roles-and-capabilities\/\">Roles and Capabilities<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Why can&#8217;t I delete the <em>uncategorized<\/em> Category?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Deleting a category does not delete the posts in that category. Instead, posts that were only assigned to the deleted category are set to the <em>uncategorized<\/em> category. Also, <strong>all<\/strong> <a href=\"\/support\/article\/pages\/\">Pages<\/a> are assigned the <em>uncategorized<\/em> Category.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The <em>uncategorized<\/em> category cannot be deleted, however you can specify your default categories for posts on the <em>Settings<\/em> &#8211; <em>Writing<\/em> screen of the <a href=\"\/support\/article\/administration-screens\/\">Administration Screens<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Why is there no Page Template option when writing or editing a Page?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If there is no Page Template option when writing or editing a <a href=\"\/support\/article\/pages\/\">Page<\/a> it may because there is no <a href=\"https:\/\/codex.wordpress.org\/Stepping Into Templates\">template file<\/a> with the proper structure. For the Page Template box to be available to assign to a <a href=\"\/support\/article\/pages\/\">Page<\/a> there must be a least one template file in your theme that has a structure at the beginning of the template file that looks like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;?php\n\/*\nTemplate Name: My Custom Page\n*\/\n?&gt;\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Create a new PHP file with any name under the theme directory and put above codes into the file. You will see the Page Template box appears that includes &#8220;My Custom Page&#8221; option in the Page Edit Screen. For more detail about Custom Page Template, refer <a href=\"https:\/\/codex.wordpress.org\/Page Templates\">Page Templates<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How do I determine a Post, Page, Category, Tag, or User ID?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Sometimes it is necessary to know the ID of a particular Post, Page, Category, Tag, or User. To determine that ID, use one of these method:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Look in your browser status bar for the ID:\n<ol class=\"wp-block-list\">\n<li>Visit the related list table screen in your Administration Screen. For instance in the case of Posts visit Posts-&gt;All Posts, for Pages visit Pages-&gt;All Pages, and for Categories visit Posts-&gt;Categories.<\/li>\n\n\n\n<li>Now hover your mouse over the &#8216;item&#8217; you need the ID. In the case of Pages, hover over that particular Page&#8217;s title in the Title column and for Categories hover over the Categories Name in the Name column.<\/li>\n\n\n\n<li>Look at the status bar (at the bottom of your browser) and the you will find at the end of the line something like &#8220;post=123&#8221; or &#8220;tag_ID=67&#8221;. In these cases, 123 is the Page ID, and 67 is the Category ID.<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Configuration<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">How can I change how the date and \/ or time is displayed?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">See:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"\/support\/article\/formatting-date-and-time\/\">Formatting Date and Time<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">How can I control comments people make?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">See:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/codex.wordpress.org\/Comment Moderation\">Comment Moderation<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">What do the Discussion Options mean?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">See:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"\/support\/article\/settings-discussion-screen\/\">Discussion Screen<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">How do I install plugins?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">See:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"\/support\/article\/managing-plugins\/\">Managing Plugins<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Why are all the comments being moderated?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Go to the <a href=\"\/support\/article\/administration-screens\/#settings-configuration-settings\">Settings<\/a> &gt; <a href=\"\/support\/article\/administration-screens\/#discussion\">Discussion<\/a> screen and make sure that <strong>Comment must be manually approved<\/strong> is unchecked. With that option selected, all comments are sent to the moderation queue to await approval.<br \/>Make sure that <strong>Hold a comment in the queue if it contains x or more links.<\/strong> is not blank and contains a number higher than zero. If this value is blank or zero, all comments containing links will be moderated.<br \/>If the option mentioned above is unchecked, the link moderation value is higher than zero, and you still have this problem, then upgrade the comment spam plugins you have installed. If this continues to be a problem, deactivate the comment spam plugins one by one to determine the culprit and contact the plugin author for help.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How do I disable comments?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">First, uncheck <strong>Allow people to post comments on new articles<\/strong> on the <a href=\"\/support\/article\/administration-screens\/#settings-configuration-settings\">Settings<\/a> &gt; <a href=\"\/support\/article\/administration-screens\/#discussion\">Discussion<\/a> screen. This will only disable comments on <em>future posts<\/em>.<br \/>Next, to completely disable comments, you will have to edit each past post and uncheck <strong>Allow Comments<\/strong> from the <a href=\"\/support\/article\/writing-posts\/\">Edit Post<\/a> screen. Use Bulk Edit to disable multiple posts at once.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In the <a href=\"\/support\/article\/posts-screen\/\">Posts_Screen<\/a>, check the checkbox in the Table&#8217;s title to select all Posts in a given table.<\/li>\n\n\n\n<li>From Bulk Actions box, select Edit and click Apply.<\/li>\n\n\n\n<li>In the Bulk Edit Screen, select Do not allow option from Comments box<\/li>\n\n\n\n<li>Click Update.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"506\" src=\"https:\/\/wordpress.org\/documentation\/files\/2020\/12\/posts-bulk-edit-screen-1024x506.jpg\" alt=\"\" class=\"wp-image-13745466\" srcset=\"https:\/\/wordpress.org\/documentation\/files\/2020\/12\/posts-bulk-edit-screen-1024x506.jpg 1024w, https:\/\/wordpress.org\/documentation\/files\/2020\/12\/posts-bulk-edit-screen-300x148.jpg 300w, https:\/\/wordpress.org\/documentation\/files\/2020\/12\/posts-bulk-edit-screen-768x379.jpg 768w, https:\/\/wordpress.org\/documentation\/files\/2020\/12\/posts-bulk-edit-screen.jpg 1083w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Alternatively, you could run below MySQL query from the command line on a shell account or using <a href=\"\/support\/article\/phpmyadmin\/\">phpMyAdmin<\/a>, or through a <a href=\"https:\/\/codex.wordpress.org\/wp-cli\">wp-cli<\/a> <code>wp db query<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">UPDATE wp_posts SET comment_status = 'closed';\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If your goal is to permanently remove comments, then follow the next steps. This is the example of <a href=\"\/support\/article\/twenty-fifteen\/\">Twenty Fifteen<\/a> theme customization.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Create a <a href=\"https:\/\/codex.wordpress.org\/Child Themes\">Child Themes<\/a> of <a href=\"\/support\/article\/twenty-fifteen\/\">Twenty Fifteen<\/a> theme.<\/li>\n\n\n\n<li>Copy <code>twentyfifteen_entry_meta()<\/code> function from parent&#8217;s <code>inc\/template-tags.php<\/code> to child theme&#8217;s <code>functions.php<\/code>.<\/li>\n\n\n\n<li>Comment out the if block that contains <code>comments-link<\/code>.<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\">function twentyfifteen_entry_meta() {\n    if ( is_sticky() &amp;&amp; is_home() &amp;&amp; ! is_paged() ) {\n        :\n    }\n\n    \/\/ if ( ! is_single() &amp;&amp; ! post_password_required() &amp;&amp; ( comments_open() || get_comments_number() ) ) {\n    \/\/  echo '';\n    \/\/  \/* translators: %s: post title *\/\n    \/\/  comments_popup_link( sprintf( __( 'Leave a comment on %s', 'twentyfifteen' ), get_the_title() ) );\n    \/\/  echo '';\n    \/\/ }\n}\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">It removes the number of comments or &#8220;Leave a comment&#8221; message from bottom of each post.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Newly create <code>comments.php<\/code> under the Child Theme&#8217;s directory without any contents. It removes the comment area of exsiting posts.<\/li>\n\n\n\n<li>Activate the Child Teheme.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">How do I disable trackbacks and pingbacks?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">First, uncheck <strong>Allow link notifications from other blogs (pingbacks and trackbacks) on new articles<\/strong> on the <a href=\"\/support\/article\/administration-screens\/#settings-configuration-settings\">Settings<\/a> &gt; <a href=\"\/support\/article\/administration-screens\/#discussion\">Discussion<\/a> screen. This will only disable trackbacks and pingbacks on <em>future posts<\/em>.<br \/>Next, to completely disable trackbacks and pingbacks, you will have to edit each past post and uncheck <strong>Allow trackbacks and pingbacks on this page<\/strong> from the <a href=\"\/support\/article\/writing-posts\/\">Edit Post<\/a> screen. Use Bulk Edit to disable multiple posts at once. See also above image.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In the <a href=\"\/support\/article\/posts-screen\/\">Posts_Screen<\/a>, check the checkbox in the Table&#8217;s title to select all Posts in a given table.<\/li>\n\n\n\n<li>From Bulk Actions box, select Edit and click Apply.<\/li>\n\n\n\n<li>In the Bulk Edit Screen, select Do not allow option from Pings box.<\/li>\n\n\n\n<li>Click Update.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Alternatively, you could run this MySQL query from the command line on a shell account or using <a href=\"\/support\/article\/phpmyadmin\/\">phpMyAdmin<\/a>, or through a <a href=\"https:\/\/codex.wordpress.org\/wp-cli\">wp-cli<\/a> <code>wp db query<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">UPDATE wp_posts SET ping_status = 'closed';\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">How do I change the <em>site admin<\/em> name?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">To change your Admin Name, in the <a href=\"\/support\/article\/administration-screens\/\">Administration Screens<\/a>, choose the <strong>Users-&gt;Your Profile<\/strong> menu. Make your changes there. However, you are not able to change the username from within the Administration screen. In order to do this you must directly edit the MySQL database, however this is not recommended as your username is not often seen by other users.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">See:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"\/support\/article\/users-your-profile-screen\/\">Users Your Profile Screen<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">How do I find the absolute path I need for uploading images?<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open the below page from your Browser<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\">http:\/\/(site URL)\/wp-admin\/options.php<\/pre>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Refer <code>upload_url_path<\/code> option value.<br \/>\nIf the value is blank, then the directory <code>wp-content\/upload<\/code> is the default destination to save.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Which files do I change to alter the way my blog looks?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">See:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/developer.wordpress.org\/themes\/\">Theme Development Handbook<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">How do I upload images?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">See:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"\/support\/article\/inserting-images-into-posts-and-pages\/\">Inserting Media into Posts and Pages<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Can I change the &#8220;Error establishing database connection&#8221; message to something more descriptive?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Just simply create a file to reside at <em>wp-content\/db-error.php<\/em>, and in that file put the message you want displayed to users when WordPress determines the database connection is not available. That file will be used in place of &#8220;Error establishing database connection&#8221; message. You could even use the <em>db-error.php<\/em> to redirect users elsewhere. Here&#8217;s an example for <em>db-error.php<\/em>:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;?php\n&lt;pre&gt;echo '&lt;h2&gt; This site is currently experiencing a problem with the database server.&lt;\/h2&gt;  Press your browser Reload button to try again!';\n?&gt;\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Modifying<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Can I change the Smilies?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">See:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"\/support\/article\/using-smilies\/\">Using Smilies<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">How do I edit files?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">See:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/codex.wordpress.org\/Editing_Files\">Editing Files<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">What is <em>The Loop<\/em>?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">See:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/codex.wordpress.org\/The Loop\">The Loop<\/a> and <a href=\"https:\/\/codex.wordpress.org\/The Loop in Action\">The Loop in Action<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">How can I change the URL-structure for my posts?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">See:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"\/support\/article\/using-permalinks\/\">Using Permalinks<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">How can I change URL-structure for my posts on a Windows server?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">See:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/codex.wordpress.org\/Using_Permalinks#Using_Permalinks_Without_mod_rewrite\">Using Permalinks Without mod rewrite<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">How do I use WordPress Template Tags to change what is displayed on the blog?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">See:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/codex.wordpress.org\/Template Tags\">Template Tags<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">How do I get <em>All<\/em> links to open in a new window?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Put this inside the  section of your Theme&#8217;s <a href=\"https:\/\/codex.wordpress.org\/Theme_Development#Template_Files\">template header.php<\/a> file:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;base target=\"_blank\" \/&gt;<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">See:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/codex.wordpress.org\/Using Themes\">Using Themes<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/www.w3schools.com\/tags\/tag_base.asp\">W3 Schools base tag explanation<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">How can I add an image to my RSS feed?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">See:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"http:\/\/wordlog.com\/archives\/2004\/08\/01\/add-an-image-to-your-rss-20-field\/\">Add an image to your RSS 2.0 feed at wordlog.com<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">If I turn off comments, it says &#8220;Comments Off&#8221; on the weblog. so how do I remove that?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Depending on your theme, some other message of similar intent may be displayed. The specifics of how to remove this message is theme dependent. You should be able to find the offending text in your theme&#8217;s <code>comments.php<\/code> file. If it&#8217;s displayed by a PHP function, comment out the function with slash-asterisks &#8216;<code>\/*<\/code>&#8216; and &#8216;<code>*\/<\/code>&#8216; <em>(without quotes)<\/em> on either end of the function:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;?php \/* _e( 'Comments are closed.' , 'twentytwelve' ); *\/ ?&gt;<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If it&#8217;s simply HTML, comment out the enclosing HTML tags by adding &#8216;<code>&amp;lt;!-- <\/code>&#8216; and &#8216;<code> --&amp;gt;<\/code>&#8216; <em>(not including the quotes, note the space after the first and before the last comment symbols)<\/em>:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;!-- &lt;p class=\"nocomments\"&gt;Comments are closed.&lt;\/p&gt; --&gt;<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">If you decide later to restore the message, you can simply remove the comment symbols.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How do I change what is shown when I password protect a post?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Hook the filters &#8216;<code>the_title<\/code>&#8216; and &#8216;<code>the_password_form<\/code>&#8216;. Your filter function is passed exactly what the filter names imply. Use the <code>str_replace()<\/code> function to search out the offending text and replace it with your preference (or nothing).<br \/>Note the &#8216;<code>the_title<\/code>&#8216; filter fires for every single title, not just password protected posts, so you need to use the existence of the <code>post_password<\/code> property to know whether to apply the string replace function or not.<br \/>Some themes may also have additional locations where content needs to be canged. Next example works with <a href=\"\/support\/article\/twenty-fifteen\/\">Twenty Fifteen<\/a> Theme.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">add_filter('the_title', 'replace_protected', 10, 2);\nfunction replace_protected( $title, $id ) {\n    $post = get_post( $id );\n    if ( ! empty( $post-&gt;post_password ) ) {\n        $title = str_replace('Protected:', 'Hidden:', $title);\n    }\n    return $title;\n}\nadd_filter('the_password_form', 'replace_message');\nfunction replace_message( $form ) {\n    return str_replace('This post is password protected. To view it please enter your password below:',\n        'Enter you password below to see the surprise:', $form);\n}\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">How can I allow certain HTML tags in my comments?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Use a custom filter in your themes <code>functions.php<\/code> or plugin:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">add_filter('preprocess_comment','fa_allow_tags_in_comments');\n\nfunction fa_allow_tags_in_comments($data) {\n    global $allowedtags;\n    $allowedtags['span'] = array('style'=&gt;array());\n    $allowedtags['p'] = array();\n    return $data;\n}\n<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">How can I add advanced search ability to WordPress?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">See:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"http:\/\/weblogtoolscollection.com\/archives\/2004\/06\/07\/advanced-contextual-search-for-wordpress\/\">Advanced Contextual Search for WordPress at Weblog Tools Collection<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Posts<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">How do I upload an image and display it in a post?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">See:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"\/support\/article\/inserting-images-into-posts-and-pages\/\">Inserting Media into Posts and Pages<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">What is pingback?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">See:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"\/support\/article\/introduction-to-blogging\/#pingbacks\">Introduction to Blogging, Pingbacks<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">What is trackback?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">See:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"\/support\/article\/introduction-to-blogging\/#trackbacks\">Introduction to Blogging, Trackbacks<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Where is the permalink to my post?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">See:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/codex.wordpress.org\/Linking Posts Pages and Categories\">Linking Posts, Pages, and Categories<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Can I use desktop blogging software?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">See:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/codex.wordpress.org\/Weblog Client\">Weblog Client<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Can I blog by email?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">See:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/codex.wordpress.org\/Post to your blog using email\">Post to your blog using email<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Spam, Spammers, Comments<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">What can I do to stop comment spam?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">See:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/codex.wordpress.org\/Combating Comment Spam\">Combating Comment Spam<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">More Information on Comment Spam<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">See:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/codex.wordpress.org\/Comment Spam\">Comment Spam<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Importing and Exporting<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">How do I Import a WordPress WXR file when it says it is too large to import?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If a WordPress WXR file, an XML file exported from WordPress, is too large to import, there are several things you might try to overcome that limit.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Edit <em>php.ini<\/em>&#8216;. Some hosts may not allow this settings.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">memory_limit = 300M\npost_max_size = 200M\nupload_max_filesize = 100M\nmax_execution_time = 600\n<\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>memory_limit: Maximum amount of memory in bytes that a PHP script is allowed to allocate.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> memory_limit should be larger than post_max_size, and post_max_size must be larger than upload_max_filesize.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Edit <em>.htaccess<\/em>. Some hosts may not allow this settings.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">php_value memory_limit 300M\nphp_value post_max_size 200M\nphp_value upload_max_filesize 100M\n<\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Edit <em>wp-config.php<\/em><\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">define('WP_MEMORY_LIMIT', '64MB');\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">See also <a href=\"\/support\/article\/editing-wp-config-php\/#increasing-memory-allocated-to-php\">Increasing memory allocated to PHP<\/a>.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In multisite environment, configure following settings\n<ol class=\"wp-block-list\">\n<li>From Network Admin dashboard, select Settings &gt; Network Settings and increase the values of &#8216;Site upload space&#8217; and &#8216;Max upload file size&#8217;.<\/li>\n\n\n\n<li>From Network Admin dashboard, select Sites &gt; All Sites and click Edit menu under your site. Click Settings tab and incease the value of &#8216;Site Upload Space Quota&#8217; or leave it blank for network default<\/li>\n<\/ol>\n<\/li>\n\n\n\n<li>GZip the file. On some hosting services, a gzipped file can be automatically expanded in the background, without WordPress ever knowing the difference. This can allow you to make the file small enough to be fit into the maximum upload size constraints.\n<ol class=\"wp-block-list\">\n<li>On Windows, use 7Zip to create a gz archive out of the WXR file.<\/li>\n\n\n\n<li>On Linux, use the gzip command line.<\/li>\n\n\n\n<li>Make sure that the resulting file has the file extension of &#8220;.gz&#8221; before uploading it, as this is often necessary.<\/li>\n\n\n\n<li>This is not guaranteed to work, as it highly depends on the hosting configuration. If this fails, then try another method instead.<\/li>\n<\/ol>\n<\/li>\n\n\n\n<li>Break the WordPress WXR file into smaller pieces by separating the data between posts and pasting the header\/footer into each file.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">1. Always have the header<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;rss version=\"2.0\"\n    xmlns:excerpt=\"https:\/\/wordpress.org\/export\/1.2\/excerpt\/\"\n    xmlns:content=\"http:\/\/purl.org\/rss\/1.0\/modules\/content\/\"\n    xmlns:wfw=\"http:\/\/wellformedweb.org\/CommentAPI\/\"\n    xmlns:dc=\"http:\/\/purl.org\/dc\/elements\/1.1\/\"\n    xmlns:wp=\"https:\/\/wordpress.org\/export\/1.2\/\"\n&gt;\n&lt;channel&gt;\nincluding all info like category, tags, etc to just before the first\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">2. Always have the footer<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;\/channel&gt;\n&lt;\/rss&gt;\n<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">3. In between, add the posts start with end with and check to see whether the XML file you&#8217;re creating is less than or equal to 2MB. You&#8217;ll get the hang of it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">4. As always, before importing the new XML&#8217;s, backup the database of the blog you are importing the XML files to and might as well export XML file of that blog as well for good measure.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">See:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"\/support\/article\/importing-content\/\">Importing Content<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"\/support\/article\/editing-wp-config-php\/\">Editing wp-config.php<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/wordpress.org\/support\/topic\/367059\">Forum discussion on program that helps with splitting the file into pieces<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">WXR Splitter Utilities:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"http:\/\/bit.ly\/b5NhEH\">WordPress WXR File Splitter utility for Windows<\/a><\/li>\n\n\n\n<li><a href=\"http:\/\/suhastech.com\/wordpress-wxr-xmlfile-splitter-for-mac-os-x\/\">WordPress WXR File Splitter utility for Mac OS X<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">How do I import links (blogroll) from another WordPress blog?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">See:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"\/support\/article\/importing-content\/\">Importing Content<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/codex.wordpress.org\/FAQ\">Codex FAQ<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Administration Can my posts have URL instead of \/index.php?p=76? See: How long is the release cycle of WordPress? A major release of WordPress happens every 6 months or so. Suggest and vote on ideas for future releases at the WordPress Extend Ideas site. Also refer WordPress Versions for the chronologically listed versions of WordPress along [&hellip;]<\/p>\n","protected":false},"author":81714,"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false},"category":[77,74],"class_list":["post-10871850","helphub_article","type-helphub_article","status-publish","hentry","category-faqs","category-wordpress-overview"],"revision_note":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles\/10871850","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles"}],"about":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/types\/helphub_article"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/comments?post=10871850"}],"version-history":[{"count":2,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles\/10871850\/revisions"}],"predecessor-version":[{"id":16355202,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles\/10871850\/revisions\/16355202"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wporg\/v1\/users\/softservenet"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/media?parent=10871850"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/category?post=10871850"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}