Skip to content

Instantly share code, notes, and snippets.

View Codevz's full-sized avatar
🎯
Focusing

Codevz Codevz

🎯
Focusing
View GitHub Profile
@Codevz
Codevz / codevz-single-after-meta.php
Last active June 18, 2022 10:34
XTRA WP Theme - Action hook for adding content after single post meta, https://xtratheme.com/
<?php
/**
* With this function you can add any content or php codes after posts meta in single post page.
*
* @var $post current post object
*/
function codevz_single_after_meta( $post ) {
if ( $post->ID === 22 ) {
@Codevz
Codevz / codevz-single-after_social_share.php
Last active June 18, 2022 10:34
XTRA WP Theme - Action hook for adding content after social share icons in single post pages, https://xtratheme.com/
<?php
/**
* With this function you can add any content or php codes after social share icons section in single post page.
*
* @var $post current post object
*/
function my_prefix_after_social_share_icons( $post ) {
if ( $post->ID === 46 ) {
@Codevz
Codevz / codevz-single-after-next-prev.php
Last active June 18, 2022 10:34
XTRA WP Theme - Action hook for adding content prev/next in single post pages, https://xtratheme.com/
<?php
/**
* With this function you can add any content or php codes after next/prev section in single post page.
*
* @var $post current post object
*/
function my_prefix_after_next_prev( $post ) {
if ( $post->ID === 46 ) {
@Codevz
Codevz / codevz-single-after_author_box.php
Last active June 18, 2022 10:34
XTRA WP Theme - Action hook for adding content after author box in single post pages, https://xtratheme.com/
<?php
/**
* With this function you can add any content or php codes after author box section in single post page.
*
* @var $post current post object
*/
function my_prefix_after_author_box( $post ) {
if ( $post->ID === 46 ) {
@Codevz
Codevz / codevz-single-after_related_posts.php
Last active June 18, 2022 10:34
XTRA WP Theme - Action hook for adding content after related posts in single post pages, https://xtratheme.com/
@Codevz
Codevz / codevz-single-before_title.php
Last active June 18, 2022 10:33
XTRA WP Theme - Action hook for adding content before post title in single post page, https://xtratheme.com/
<?php
/**
* With this function you can add any content or php codes before page title section in single post page.
*
* @var $post current post object
*/
function my_prefix_before_title( $post ) {
if ( $post->ID === 46 ) {
@Codevz
Codevz / codevz-single-after_title_date.php
Last active June 18, 2022 10:33
XTRA WP Theme - Action hook for adding content after post title and date in single post pages, https://xtratheme.com/
<?php
/**
* With this function you can add any content or php codes after title and date section in single post page.
*
* @var $post current post object
*/
function my_prefix_after_title_date( $post ) {
if ( $post->ID === 46 ) {
@Codevz
Codevz / codevz-single-before-comments.php
Last active June 18, 2022 10:33
XTRA WP Theme - Action hook for adding content before comments section in single post pages, https://xtratheme.com/
<?php
/**
* With this function you can add any content or php codes before comments section in single post page.
*
* @var $post current post object
*/
function my_prefix_before_comments( $post ) {
if ( $post->ID === 46 ) {
@Codevz
Codevz / codevz-single-after-comments.php
Last active June 18, 2022 10:38
XTRA WP Theme - Action hook for adding content after comments section in single post pages, https://xtratheme.com/
<?php
/**
* With this function you can add any content or php codes after comments section in single post page.
*
* @var $post current post object
*/
function my_prefix_after_comments( $post ) {
if ( $post->ID === 46 ) {
@Codevz
Codevz / codevz-page-before-title.php
Last active June 18, 2022 10:33
XTRA WP Theme - Action hook for adding content before page title section, https://xtratheme.com/
<?php
/**
* With this function you can add any content or php codes before page title.
*
* @var $post current post object
*/
function my_prefix_before_title( $post ) {
if ( $post->ID === 46 ) {