WordPress Tips from theme cheat sheet

Topics focus on Web Developments, Programming, Database, Digital Marketing Tutorials, Code Snippets, SEO, Social Media Marketing and Inspirational articles.

WordPress Tips from theme cheat sheet

WordPress Tips from theme cheat sheet

WordPress Tips from theme cheat sheet

I am writing this article for wordpress begginers who are start to learn wordpress. WordPress is very easy to learn for new user/blogger. So it is very helpful to them to make some work in wordpress. Here there are some codes from wordpress theme cheat sheets. Which will help you to make your own theme and custom coding for wordpress website and blog.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php bloginfo('name'); ?> – Title of the Blog, or Blog Name
<?php wp_title(); ?> – Title of a Specific Page
<?php bloginfo('url'); ?> – Exact URL for the Site
<?php bloginfo('description'); ?> – Site’s Description
<?php bloginfo('template_url'); ?> – Location of Site’s Theme File
<?php bloginfo('stylesheet_url'); ?> – Link to the Style.css location
<?php bloginfo('rss2_url'); ?> – RSS Feed URL for the Site
<?php bloginfo('pingback_url'); ?> – Pingback URL for the site
<?php bloginfo('version'); ?> – WordPress Version Number
<?php get_header(); ?> – Displays Header.php file content
<?php get_footer(); ?> – Displays Footer.php file content
<?php get_sidebar(); ?> – Displays Sidebar.php file content
<?php comments_template(); ?> – Displays Comment.php file content
<?php the_content(); ?> – Displays the Content of the Post
<?php the_excerpt(); ?> – Displays the excerpt that is used in Posts
<?php the_title(); ?> – Title of the Specific Post
<?php the_permalink() ?> – Link of the Specific Post
<?php the_category(', ') ?> – Category of a Specific Post
<?php the_author(); ?> – Author of the Specific Post
<?php the_ID(); ?> – ID of a Specific Post
<?php edit_post_link(); ?> – Edit link for a Post
<?php next_post_link(' %link ') ?> – URL of the Next Page
<?php previous_post_link('%link') ?> – URL of the Previous Page
<?php get_links_list(); ?> – Lists all links in Blogroll
<?php wp_list_pages(); ?> – Lists all Pages
<?php wp_get_archives() ?> – List Archive for the Site
<?php wp_list_cats(); ?> – Lists all Categories
<?php get_calendar(); ?> – Displays the Built in Calendar
<?php wp_register(); ?> – Displays Register Link
<?php wp_loginout(); ?> – Displays Login/Logout Link only to Registered Users

Thanks and Hope it will help you…

Add comment


 

Pin It on Pinterest

Share This