Tips And Tricks

How to create a custom search for custom post type?

posted by Solaiman in Tips And Tricks, Wordpress

let’s say your custom post type is “products“ 1 . Add Function Codes here you can specify the archive-search.php Add this below code on your functions.php file [crayon-5a00c1c6abe51519338404/]   2 . create search result template for custom post type ( search-archive.php ) [crayon-5a00c1c6abe58640199633/] 3 Build Search Form In this Search Form the value “products”  is..

Read More >

Dynamic Copyright Date in WordPress Footer

posted by Solaiman in Tips And Tricks, Wordpress

Often you will come across sites with outdated copyright dates. Some sites show the current year as their copyright date. Both of these are annoying, and it shows that the site designer was lazy. In order to give your users a little background info about your site, you should display the copyright date as such:..

Read More >

Menu

Click to close sidebar.