Post Title of wordpress blog, post of wordpress blog

Source: Internet
Author: User
Tags wordpress blog

Post Title of wordpress blog, post of wordpress blog

So that the title of the home page cannot be connected to the article, you can only read more to enter the article, for people with special needs.


Welcome:

Www. findspace. name



I got it.

In linux:
Using


Find. | xargs grep-ri "<? Php the_permalink ()"


In the themes folder to find which one quote the link. In my themes I found that:


./Content. php: <a href = "<? Php the_permalink ();?> "Rel =" bookmark "> <? Php the_title ();?> </A>


And there're more content .....
So I found it and delete


Href = "<? Php the_permalink ();?> "


OK!



Khan died. It was originally asked on stackoverflow and solved it by myself. When I was about to answer the question, I was prompted that it had nothing to do with programing ,,,,, save it to your blog...




How to display the latest wordpress summary on the homepage of the main site

Not above

Static data can be modified in permanent links.

Popular Permalinks settings:

Like the "/2007/03/15/post-name/" directory structure (example: WordPress.com), Permalinks:/% year %/% monthnum %/% day %/% postname %/
Permalinks, similar to the "/2007/03/15/post-name.html" directory structure (example: boingboing.net), is written as:/% year %/% monthnum %/% day %/hour postname+.html
For example, Permalinks In the "/2007/03/post-name/" directory structure (WordPress.org blog):/% year %/% monthnum %/% postname %/
Permalinks, similar to the "/2007/03/post-name.html" directory structure (example: Blogger, TypePad):/% year %/% monthnum %/invalid postname.html .html
Permalinks, similar to the "/123.html" directory structure (for example, livejournal and Baidu space), is written in the format of/define post_id1_.html.
My "/category/post-name.html" directory structure Permalinks:/% category %/Your postname.html .html

Static

How can I change the title of a wordpress category directory as a menu?

Plug-in, Category Meta plugin
For non-plug-ins, see the following.
<! -- Modify the <title>... </title> label in header. php In the topic directory to the desired format. You can either define it directly or use get_option () to obtain the display --> // (1) Using get_option ().

// First understand the format of the get_option () function:

<? Php echo get_option ($ showth);?> Or <? Php echo get_option ("showsomething");?>

$ Show…… can be defined by yourself. You can query the operations in the wp_options table;

For example, <? Php echo get_option ("blogname");?> // Get the name of your blog

<? Php $ admin_email = get_option ('admin _ email ');?> // Get the email of your blog, and someone will send an email to himself upon posting.

<Title> <? Php if (is_home ()){

Bloginfo ('name'); echo "-customized"; // The title is displayed on the homepage: site name-custom

} Elseif (is_category ()){

Single_cat_title (); echo "| customized"; // The title is displayed as the category directory | customized

} Elseif (is_single () | is_page ()){

Single_post_title (); echo "-customized"; // The title is displayed on the document page.

} Else {

Wp_title ('', true );

}?> </Title>

3. You can use the All in one seo plug-in to customize titile, keyword, and description on All pages.


Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.