wp $_post
//Form:
<input type="text" name="unique_name" />
//Post Page:
$name=$_POST['unique_name'];
echo $name;
wp $_post
//Form:
<input type="text" name="unique_name" />
//Post Page:
$name=$_POST['unique_name'];
echo $name;
what is post_class()
/* we see in php code */
<div id="post-<?php the_ID(); ?>" <?php post_class( 'class-name' ); ?>>
/* we see in html code like this */
<div id="post-4564" class="class-name post-4564 post type-post status-publish format-standard hentry category-news">
what is post_class()
/* A simple way to add multiple classes to the post_class defaults, is to just write them as a string argument: */
<div <?php post_class( 'class1 class2 class3' ); ?>>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us