WordPress Theme Development – add emoji to comments

staywordpressIt used to be very popular to add expression packs to the comments on the topic,And many websites also include this function。 The implementation is mainly to replace the official expression with its own expression pack,So the quantity is limited。 It’s not just reviews, of course,Background article editor can also add small expressions,There is an […]

WordPress displays the registration time of the login user in the frontend

When using WordPress to build a website, some users want to display the user registration time in the frontend, but WordPress does not have this option, so how to realize this function? It’s very simple. Although this function is not common, it doesn’t work much. This function is basically used in a user centric site. […]

WordPress adds the number of SQL queries at the bottom

An excellent woodpress theme is definitely that the less SQL consulting is used, the better. How can we see how many times there are SQL consulting in our theme? The following is a piece of code to check the number of times to load SQL Using the tutorial <span>common <?php echo get_num_queries(); ?> secondSqlconsulting service</span> […]

Some WordPress articles can be seen after comments / replies

If we want to hide part of the content of the article and need the user’s comments and replies to be visible, today’s WordPress tutorial article is just right for you. This function is easy to implement, and can improve the enthusiasm of users, is a very good function. Here is the main core code. […]

WordPress common template function reference document

Basic template file file namedescribe style.css Theme style file index.php Home page template file header.php Header template file single.php Single article template file archive.php Archive / categorize template files searchform.php Search form template file search.php Search template file 404.php 404 template file comments.php Message template file footer.php Bottom template file sidebar.php Sidebar template file page.php […]

WordPress gets the first picture in the article as a thumbnail

If you have a large number of articles on your site, it will be a complicated step to manually set the thumbnails for each article. We shared an article “implementation method of random display of thumbnails for WordPress articles” before WordPress realizes random display of article thumbnails. I don’t know if bloggers will forget to […]

The development of WordPress topic – the comment list expands and expands to show sub comments

This article records a list of WordPress reviews you’ve been fooling around recently The picture is small and fast. If you look at it carefully, you will find that the sub comment is controlled by clicking the View dialog button. At the same time, the View dialog and close dialog also change with the scaling. […]