We will discuss on: How to create a static demo site on Github.
You should know how to create a HTML file. For others, we will learn on the way…
How to proceed?
Step 1: Deploy code in Github
Easy as pie.Continue reading
I’ve taken information in an admin page (can be a
menu_page or a
WP_Query(). Made a table to display the information also. Made a pagination too. But appears that, the pagination is not working. While searching for solution, found that, Christine Cooper got stuck in a similar problem in her end, but good part is, she made a solution taking suggestion from Milo. That solution was nice, and that solved my problem too. But some final touches were required, so I made my code working and presenting here for you. You can make it more nicer.
What actually is happening, and why?
Not being a copy-paste programmer, a good programmer should always ask for the base. So, what we’ve learned is,Continue reading
Someone got an approved Google AdSense account, and they started displaying ads onto their site. But on the third day, they were banned for invalid clicks. The reason they guessed was, multiple clicks from their own public IP can ban them – though they are not so sure. It can happen while multiple user in multiple computers using a same internet connection. When they are clicking google tracked them as the same person who registered the AdSense account.
Okay, this can be one scenario, but you may face situation like this, when you may need to block certain things to certain IP addresses. Here’s the code snippet (charm! 🙂 ) that can save you.Continue reading
Github.com is one of the modern concept in coding – the social coding. So using the site you can code socially – with friends, colleagues, mentors, even with someone you don’t even know. Most of the github projects are open source, because they are public by default. You can have private repositories also, but they are paid. Public or private – but most of the finished products hosted in github are not even released by their authors. Today we’re gonna take a look on how to release your github project.
Suppose your github.com repository is your project. And you are currently working on its version 1.0.0. Some other committers are also committing on the repository. And you all decided to finish its work for a stable 1.0.0 release. So, in that stage finish committing and go for a release.
Release using Git
The process of releasing product using git is actually
git tag. Doing so you have to write in command line (git bash):
git tag -a v1.0.0 -m "First Release"
It will tag the last commit with
v1.0.0 tag. Now push tags using command line and that will create a tag in Github too.
git push -u origin --tags
But it will write Release Note for you. So creating tags and release a product, Github has a feature called ‘Release’:
How to release