Question Open WordPress Backstage, the homepage can open, other features page display path error, and then compare the path is less wp-admin part of the path, and set the pseudo-static day and name way to display article link suddenly found the article link does not open, display 404 error, These should be server Nginx site configuration problems
Below is my nginx under the WordPress site configuration file
: This article describes how the WordPress theme framework works. if you are interested in the PHP Tutorial, refer to it. The topic framework is incredibly powerful! For non-technical WordPress users, the theme framework makes it possible to build a website that is unique an
, and you can add new features whenever you want.
Summary
Developing your own theme framework can be said to be a big initiative. In the long run, this will save you a lot of development time, but it also takes a lot of work.
Take the time to learn about the audiences that use the theme framework and what features they need, because it makes sense and value for both yourself and other users, and it's muc
: This article describes how to develop your WordPress theme framework. if you are interested in the PHP Tutorial, refer to it. In the first part of this series of tutorials, I introduced different types of theme frameworks and explained how they work.
Before you begin to build your
Although the Chinese wordpress theme is already very good, there are many beautiful wordpress theme in English, and we always want to translate it into Chinese. Just like a wordpress q a topic I found online a few days ago
Although the Chinese
Hello, everyone! I am sheen, today for you to translate a tutorial on using PS to create WordPress theme. Please forgive me for your first translation.
01 Final Effect Chart
Step 1
Create a new file (press CTRL + N) or File > new, and the parameter settings are as follows (Figure 02):
Figure 02
Step 2
Change your foreground color to
Image
Although the theme is responsive, some pictures will vary in size depending on the size of the screen, and I still want to set the maximum and minimum size according to the grid.
Navigation and buttons
The navigation remains very concise and the color effect is determined by the color I choose, in order to maintain consistency throughout the subject.
Side bar and end of page
The footer and sidebar use t
When you do WordPress theme, you often need to add management options to the theme so that you can provide some custom settings to the subject user, lest you change the subject source code. There are already a lot of people on the Web sharing tutorials, last night to write code when suddenly to use this function, but search a lot of versions, only to find or neoe
Get_template_part () is used to refer to template files, similar to Get_header (), Get_sidebar (), and Get_footer (), except that this get_template_part () can introduce a custom name file.
How to use
Get_template_part ($slug, $name);
Parameters
$slug
(string) (must) the file name of the template to be introduced, excluding the suffix name. php, that is, if you need to introduce the loop.php file of the current theme root directory $slug fill in "l
Install the xxx wordpress theme site when placed under the Wamp open http://localhost/xxx/index.php appears to find Get_header () problem.Fatal error:call to undefined function get_header ()See index.php Indeed the first line is the function of Get_header () function to load the template, specifically in accordance with the online tutorial redirection or modifica
WordPress set Post Type custom article types example tutorial, wordpress instance Tutorial
What is a custom post?Don't take it for granted that the post here is just a blog post, it's just a surrogate word for an article class, and you can even think of it as content.Custom model is not a very standard what rules, the
Make a personalized WordPress Landing interface Example Tutorial, wordpress example Tutorial
There are two ways to personalize the landing interface, the first is to replace the landing background, this is a small personalization bar:
Find two pictures of Login-bkg-tile.gif and login-bkg-bottom_new.gif in/wp-admin/ima
want to follow this tutorial step by step. I just want to see if my friends who don't have any web design knowledge are very familiar with the WordPress theme creation process. I don't have to read this series of tutorials, you will learn about the general steps to create a WordPress
options_page_description ($localized _heading_text = ") {
Ps:wordpress Tip: Manual restore to old version/update to latest edition
WordPress backstage can generally be directly upgraded, but there are some situations that could not automatically upgrade, so, the initiative to simply say a WordPress manual restore to the old version and WordPress manual update to
Examples of implementing the image upload function on the WordPress background are described. An example of the image upload function is provided on the WordPress background. the wordpress instance explains how to prepare an image upload File: Create a php file. I will use the default theme TwentyTen for testing, first
code to the functions. php file of your topic.Replace the get_avatar function that obtains the Avatar address with my_avatar. The following is an exception: functions. php comment list function:
get_avatar( $comment
Change:
my_avatar( $comment->comment_author_email
Because the my_avatar function can only retrieve user portraits by Email, you need to change the first parameter to the email address in the preceding case.
Get_avatar function introduction:The above method is simple and convenient.
user's avatar, so the above situation, you need to change the first parameter to an email address.
Get_avatar Function Description:It is simple and convenient to use the above method. But there is one more step to be aware of. You have to make sure that the Get_avatar function is used where the avatar is called. Generally, only the old theme is not. If not, you can do it.
If instead:
How to update the Css/js file cache in agent (squid)In
In the background of WordPress Add top menu and submenu of the function of the detailed, WordPress function in detail
Add Settings page-add_menu_page functionAdd_menu_page (), the function is to add a top-level menu to the back of the table, that is, "appearance", "plug-in" and so on the same top menu.
The functions are described as follows:
For a function parameter, this parameter is typically the name o
Create a personalized WordPress login interface instance tutorial, wordpress instance tutorial
There are two methods for personalized login interface. The first method is to replace the login background. This is a small PERSONALIZATION:
Find two images in/wp-admin/images: login-bkg-tile.gifand login-bkg-bottom_new.gif,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.