current location:Home > Technical Articles > CMS Tutorial > WordPress
- Direction:
- All web3.0 Backend Development Web Front-end Database Operation and Maintenance Development Tools PHP Framework Daily Programming WeChat Applet Common Problem Other Tech CMS Tutorial Java System Tutorial Computer Tutorials Hardware Tutorial Mobile Tutorial Software Tutorial Mobile Game Tutorial
- Classify:
-
- How to implement reader wall in wordpress
- How to implement reader wall in wordpress: first rename the "PAGE.php" page to "readerwall.php"; then add the code "$query="SELECT COUNT(comment_ID) AS cnt.." where you need to add the reader wall and Just save it.
- WordPress 3035 2020-01-03 09:45:56
-
- How to insert a table in wordpress without plugins
- To insert a table in WordPress, you only need to define a CSS style for the table. The specific code is "table.table{border-spacing:2px;border-collapse:separate;background-color:#FFF;}".
- WordPress 2816 2020-01-03 09:40:57
-
- How does WordPress display ads on posts older than 15 days?
- How WordPress displays ads in articles published more than 15 days ago: First open the "functions.php" file; then add the code "function is_old_post($post_id=null){$days = 15;}" and save it.
- WordPress 2192 2020-01-03 09:36:55
-
- What is the commonly used Ping List in WordPress?
- The commonly used "Ping List" in WordPress refers to the Ping list, and Ping is an update notification service; the "Ping List" of WordPress can be modified through "Settings" - "Composition" - "Update Service" in the background.
- WordPress 3002 2020-01-02 09:54:29
-
- What is the SQL statement for modifying the ID of an article in WordPress?
- The SQL statement for WordPress to modify the ID of a certain article is "update wp_posts set id = 147 where id = 148; update wp_term_relationships set object_id = 147".
- WordPress 2519 2020-01-02 09:50:05
-
- How to get WordPress media library to recognize .pdf files
- How to let the WordPress media library recognize ".pdf" files: first open the "functions.php" file; then add the code "function modify_post_mime_types(){}"; then upload a pdf file in the media library.
- WordPress 2386 2020-01-02 09:50:57
-
- How does WordPress automatically extract the first image in the content as a thumbnail?
- The method for WordPress to automatically extract the first image in the content as a thumbnail: first open the "function.php" file; then add the function as "function catch_that_image"; then directly use the function to call where WordPress needs to call the thumbnail.
- WordPress 2645 2020-01-02 09:45:01
-
- How to use the function query posts in wordpress
- The function "query posts" in WordPress is a very useful function for calling articles. It can display multiple specific ranges of articles on the same page. Its syntax is "query_posts('cat=6&posts_per_page=3&caller_get_posts)".
- WordPress 2688 2020-01-02 09:41:43
-
- How to display article browsing statistics without WordPress plug-in
- How to display the article browsing statistics function without a wordpress plug-in: first get the number of article views from "wp_postmeta"; then make an "if" judgment; and finally copy the code "function setPostViews(){}" to the theme's "funtions" file That’s it.
- WordPress 2046 2020-01-02 09:36:17
-
- How to use wordpress hook function to add a record while publishing an article
- How to use the wordpress hook function to add a record while publishing an article: first open the "function.php" file; then add the hook function code with the syntax "function new_article($post_ID){}".
- WordPress 2567 2020-01-02 09:30:38
-
- How to properly configure WordPress email SMTP
- Below, the WordPress tutorial column will introduce to you how to correctly configure WordPress email SMTP. I hope it will be helpful to friends in need! By default, most host spaces cannot send emails normally, resulting in users being unable to send emails when registering, unable to retrieve passwords, etc. Therefore, it is necessary to use a third-party mail server SMTP method.
- WordPress 3666 2019-12-30 13:09:06
-
- How to automatically add featured images to WordPress posts
- The following WordPress tutorial column will introduce to you how to automatically add featured images to WordPress articles. I hope it will be helpful to everyone’s WordPress imitation website! Featured Images in WordPress is a very useful feature that adds a thumbnail image to each post in the post list.
- WordPress 2695 2019-12-28 11:45:53
-
- How to increase post sorting in WordPress
- How to increase the ordering method of articles in WordPress: First open the "index.php" file of the theme; then add the code after the "if" statement as "if ( isset($_GET['order']) ){switch ($_GET[' order']){}" and save it.
- WordPress 3080 2019-12-28 09:56:57
-
- How to pin archive pages such as WordPress categories and tags to the top
- How to stick archive pages such as WordPress categories and tags to the top: first find and open the "functions.php" file; then add the code "add_filter('the_posts', 'putStickyOnTop' );" and save it.
- WordPress 2075 2019-12-28 09:52:26
-
- How to call a specific article list in wordpress
- How to call a specific article list in wordpress: first enter the wordpress backend; then open the corresponding template file; then add the php code as "<?php query_posts('showposts=10&orderby=new'); while();".
- WordPress 3625 2022-04-15 16:49:22