Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Add cotnent above the Archive page's each post's title before
- */
- add_action( 'astra_archive_post_title_before', 'astra_child_add_content_before_archive_post_title' );
- function astra_child_add_content_before_archive_post_title() {
- echo "Add Your content before the archive pages post title";
- }
- /**
- * Add cotnent above the Single Post's title before
- */
- add_action( 'astra_single_post_title_before', 'astra_child_add_content_before_single_post_title' );
- function astra_child_add_content_before_archive_post_title() {
- echo "Add Your content before the single post title";
- }
Add Comment
Please, Sign In to add comment