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-after_title_and_breadcrumbs.php
Last active June 18, 2022 10:30
XTRA WP Theme - Action hook for adding content after site title and breadcrumbs, https://xtratheme.com/
<?php
/**
* With this function you can add any content or php codes after website title and breadcrumbs.
*/
function my_prefix_after_title_and_breadcrumbs() {
echo 'This is a custom content text.';
}
@Codevz
Codevz / codevz-before_title_and_breadcrumbs.php
Last active June 18, 2022 10:30
XTRA WP Theme - Action hook for adding content before site title and breadcrumbs, https://xtratheme.com/
<?php
/**
* With this function you can add any content or php codes before website title and breadcrumbs.
*/
function my_prefix_before_title_and_breadcrumbs() {
echo 'This is a custom content text.';
}
@Codevz
Codevz / codevz-after-footer.php
Last active June 18, 2022 10:30
XTRA WP Theme - Action hook for adding content after site footer, https://xtratheme.com/
@Codevz
Codevz / codevz-before-footer.php
Last active June 18, 2022 10:30
XTRA WP Theme - Action hook for adding content before site footer, https://xtratheme.com/
@Codevz
Codevz / codevz-after_header.php
Last active June 18, 2022 10:30
XTRA WP Theme - Action hook for adding content after site header, https://xtratheme.com/
<?php
/**
* With this function you can add any content or php codes after website header.
*/
function my_prefix_after_header() {
echo 'This is a custom content text.';
}
@Codevz
Codevz / codevz-before_header.php
Last active June 18, 2022 10:29
XTRA WP Theme - Action hook for adding content before site header, https://xtratheme.com/
<?php
/**
* With this function you can add any content or php codes before website header.
*/
function my_prefix_before_header() {
echo 'This is a custom content text.';
}
@Codevz
Codevz / codevz-after-breadcrumbs.php
Last active June 18, 2022 10:29
XTRA WP Theme - Action hook for adding content after breadcrumbs, https://xtratheme.com/
<?php
/**
* With this function you can add any content or php codes after breadcrumbs section.
*/
function my_prefix_after_breadcrumbs() {
echo 'This is a custom content text.';
}
@Codevz
Codevz / codevz-before-breadcrumbs.php
Last active June 18, 2022 10:29
XTRA WP Theme - Action hook for adding content before breadcrumbs, https://xtratheme.com/
<?php
/**
* With this function you can add any content or php codes before breadcrumbs section.
*/
function my_prefix_before_breadcrumbs() {
echo 'This is a custom content text.';
}
@Codevz
Codevz / codevz-after-pagination.php
Last active June 18, 2022 10:29
XTRA WP Theme - Action hook for adding content after pagination in posts archive, https://xtratheme.com/
<?php
/**
* With this function you can add any content or php codes after pagination.
*/
function my_prefix_after_pagination() {
echo 'This is a custom content text.';
}
@Codevz
Codevz / codevz-before-pagination.php
Last active June 18, 2022 10:29
XTRA WP Theme - Action hook for adding content before pagination in posts archive, https://xtratheme.com/
<?php
/**
* With this function you can add any content or php codes before posts archive pagination.
*/
function my_prefix_before_pagination() {
echo 'This is a custom content text.';
}