deff .pdf
File information
Original filename: deff.pdf
This PDF 1.4 document has been generated by Writer / LibreOffice 5.2, and has been sent on pdf-archive.com on 09/08/2017 at 12:14, from IP address 79.2.x.x.
The current document download page has been viewed 329 times.
File size: 31 KB (4 pages).
Privacy: public file
Share on social networks
Link to this file download page
Document preview
<?php
/*
]
// Example 1 : WP Shortcode to display form on any page or post.
function form_creation(){
?>
<form name="frmRegistration" method="post" action="">
<table border="0" width="500" align="center" class="demo-table">
<?php if(!empty($success_message)) { ?>
<div class="success-message"><?php if(isset($success_message)) echo
$success_message; ?></div>
<?php } ?>
<?php if(!empty($error_message)) { ?>
<div class="error-message"><?php if(isset($error_message)) echo $error_message; ?
></div>
<?php } ?>
<tr>
<td>User Name</td>
<td><input type="text" class="demoInputBox" name="userName" value="<?
php if(isset($_POST['userName'])) echo $_POST['userName']; ?>"></td>
</tr>
<tr>
<td>First Name</td>
<td><input type="text" class="demoInputBox" name="firstName" value="<?
php if(isset($_POST['firstName'])) echo $_POST['firstName']; ?>"></td>
</tr>
<tr>
<td>Last Name</td>
<td><input type="text" class="demoInputBox" name="lastName" value="<?
php if(isset($_POST['lastName'])) echo $_POST['lastName']; ?>"></td>
</tr>
<tr>
<td>Password</td>
<td><input type="password" class="demoInputBox" name="password"
value=""></td>
</tr>
<tr>
<td>Confirm Password</td>
<td><input type="password" class="demoInputBox"
name="confirm_password" value=""></td>
</tr>
<tr>
<td>Email</td>
<td><input type="text" class="demoInputBox" name="userEmail" value="<?
php if(isset($_POST['userEmail'])) echo $_POST['userEmail']; ?>"></td>
</tr>
<tr>
<td>Gender</td>
<td><input type="radio" name="gender" value="Male" <?php
if(isset($_POST['gender']) && $_POST['gender']=="Male") { ?>checked<?php } ?>> Male
<input type="radio" name="gender" value="Female" <?php
if(isset($_POST['gender']) && $_POST['gender']=="Female") { ?>checked<?php } ?>> Female
</td>
</tr>
<tr>
<td colspan=2>
<input type="checkbox" name="terms"> I accept Terms and Conditions
<input type="submit" name="register-user" value="Register" class="btnRegister"></td>
</tr>
</table>
</form>
<?php
}
add_shortcode('test', 'form_creation');
?>
2.Here’s a guide that explains how to center the main header menu in WordPress using Center Menu
CSS .
Add the styles directly in your Child Theme style.css or Appearance > Theme Options > Custom
CSS.
@media screen and (min-width: 981px) {
.menu {
text-align:center
}
.menu li {
display:inline-block;
float:none;
margin-left: -5px;
}
.menu li li {
display:block;
text-align:left
}
}
3WordPress is an online, open source website creation tool written in PHP. But in non-geek speak,
it’s probably the easiest and most powerful blogging and website content management system (or
CMS) in existence today.
WordPress plugins are bits of software that can be uploaded to to extend and expand the
functionality of your WordPress site.




Link to this page
Permanent link
Use the permanent link to the download page to share your document on Facebook, Twitter, LinkedIn, or directly with a contact by e-Mail, Messenger, Whatsapp, Line..
Short link
Use the short link to share your document on Twitter or by text message (SMS)
HTML Code
Copy the following HTML code to share your document on a Website or Blog