We already knew how to create WordPress Plugin based on the older posts here. Like we have the code snippets below. One of the good features of wp was having some custom widget created based on the coder. Like for example you want to add a widget in some section of your page or posts, […]
Create a file something like getAffiliateLink.php And Include this file to where you want see these link/s and create .htaccess and add these scripts below: //end Then that’s it… ^^
We can simple add custom fonts in css through giving the source file of the font eg: That’s it.
Short code is very easy to implement in wordpress without installing any plugin to your site. Just add function to the functions.php and then use the short code. eg: and then use the shortcode to any of the site, page, post, widgets. eg. That’s it.
It is just simple in creating custom menu.. First just follow the steps: //some codes here ?> 2. Use the custom menu in any part of your template file: eg: header.php template file That’s it, the custom menu is now visible on the and ready to use.
If you want to put or get content of the post/page particularly by passing the id of the that post you can use the tag reference get_post() and it will return the post object .. by example you can do this..