Enabling Link Target in WordPress navigation Menu

By default wordpress will not show the option for link targets. Suppose if you want to create a navigation link , which you prefer to open in a new windows then do the following. Appearance => Menu => On top right of the Page click on screen Options.(1) Click Advanced Settings=> Click Link Target (2) Now you can see the Open in New Tab check box (3).      

» Read more

Portable WordPress – Run without installation

Are you interested in learning wordpress? Feeling difficult ? Hard to configure? Don’t worry Just download Port-a-Press stand alone wordpress system. Learn , explore all even without connecting to internet. Features No Installation required No need to configure any data base Can run from USB Latest Version of WordPress Option to Update Latest version of WordPress as and when released. Full sample content included. Important admin menu included in main bar. 100% Spyware / Virus Free – GUARANTEED 100% Free Explore wordpress with no Limits. Any issues please leave your comments below.   Download : Download Portable WordPress – – This runs on different ports (This can run even if you have another service is using port 80) Install : Extract the downloaded file to any folder. Step2 : Click Allow Access Make sure Apache and my SQL running. Now our server is running. If you get any error message like Port already in use , please refer my post Port troubleshooting . Now your wordpress is ready to run. To access the admin Page please open the link admin menu Click on admin Panel , Username : haneef , Password : haneef Make the changes and remove all the sample contents […]

» Read more

Solution to Disable a WordPress Form Page if Javascript is Disabled

Problem : WordPress / Visual Form Builder will allow to submit blank forms without validation if Javascript is disabled. Solution : STEP1 : Create a sorry page with a message . ****************************** Sorry Dear User, Since Javascript is not enabled in your machine you will not be able to Submit your application. Please enable Javascript in your browser and try visiting the page again. ********************************* Publish the page and note the URL for The Page. for example : haneefputtur.com/sorry/ STEP2: Find the page id of the wordpress page which have the submission form Just take the mouse over the edit link of the specific page to see the Post ID Step 3 : Insert the below code to header.php of the theme. Just in the section of Meta Tags. <?php if(is_page(42)) {?> <noscript> <meta http-equiv=”refresh” content=”0;url=http://www.haneefputtur.com/sorry/”> </noscript> <?php }?> Make sure to replace the correct page ID. Now Save the file and try again. .

» Read more

Solution for Disabling Attachments in confirmation email of Visual Form Builder Pro

Problem : Whenever Visual Form Builder Pro for WordPress sends the confirmation email of submitted form, it attaches the file with it, which not only floods the email server , it fills the mail box. Solution : Step 1 : Find the Form ID of the form you wish to disable attachment in email. Step 2 : Open functions.php  and append following code at the end. add_filter( ‘vfb_attachments_email’, ‘vfb_filter_attachments_email’, formid, 2 ); function vfb_filter_attachments_email( $attachments, $form_id ){ return false; } Make sure to replace the formid text in red above with the actual form id.      .

» Read more

Solution for WordPress hacked :: update.exe download problem

Problem : When you open wordpress site Update.Exe will popup and download automatically. If You find source it will show this : There’s a downloading of a update.exe initiated by line <script src=”//socialstatsplugin.com/jqury.js”></script> Solution : Login to Database through PHPMyadmin   In your wp_options (orwp_ID_options on multisite) there’s a row / option called ‘wp_data_newa’. Will investigate further to see who’s responsible for this but for now you can (temporarily!) fix it by removing it with an SQL statement: DELETE FROM wp_options WHERE option_name like ‘%wp_data_newa%’ Make sure to adjust your table prefix. Good Luck    .

» Read more

Dynamic Footer Copyright Year using php

So let’s say your current footer looks something like this… <p id=”footer”>copyright © 2014 by Haneef Puttur, Inc</p> To put that copyright year on auto-pilot, simply drop this bit of code in there and sit back and relax. <p id=”footer”>copyright © <?php echo date(‘Y’); ?> by Haneef Puttur, Inc</p> If your copyright is a range of years, like 2001-2014, just add the snippet after the dash of the first year like this… <p id=”footer”>copyright © 2001-<?php echo date(‘Y’); ?> by Haneef Puttur, Inc</p>.

» Read more
1 2 3