Support ForumWhere to add custom PHP code to be displayed under pagination – Support Forum https://support.ishyoboy.com/forums/topic/where-to-add-custom-php-code-to-be-displayed-under-pagination/feed/ Fri, 03 May 2024 06:32:47 +0200 http://bbpress.org/?v=2.5.12-6148 en-US https://support.ishyoboy.com/forums/topic/where-to-add-custom-php-code-to-be-displayed-under-pagination/#post-17533 <![CDATA[Where to add custom PHP code to be displayed under pagination]]> https://support.ishyoboy.com/forums/topic/where-to-add-custom-php-code-to-be-displayed-under-pagination/#post-17533 Wed, 08 Apr 2020 00:29:34 +0000 prohedonism Hello,

I’m using “WordPress Related Posts Thumbnails” Plugin. Please tell me, where/how I can add the <?php get_related_posts_thumbnails(); ?> to the child theme to show the resutls UNDER the post pagination.

Screenshot

Thx a lot!

]]>
https://support.ishyoboy.com/forums/topic/where-to-add-custom-php-code-to-be-displayed-under-pagination/#post-17540 <![CDATA[Reply To: Where to add custom PHP code to be displayed under pagination]]> https://support.ishyoboy.com/forums/topic/where-to-add-custom-php-code-to-be-displayed-under-pagination/#post-17540 Wed, 08 Apr 2020 09:56:35 +0000 IshYoBoy Hey again,

to achieve this you need to do following steps:

1. Go to “Related Posts Thumbnails Settings > General Display Options” and uncheck first item “Automatically append to the post content:”.

2. From main Qusq Pro theme copy file “/src/single.php” and past it into root of your child-theme.

3. Open the file “single.php” from child-theme for editing and on line nr 37 you should see this:
<hr>
Replace it with following code:

Try it and let us know if it works ;)
Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>
https://support.ishyoboy.com/forums/topic/where-to-add-custom-php-code-to-be-displayed-under-pagination/#post-17541 <![CDATA[Reply To: Where to add custom PHP code to be displayed under pagination]]> https://support.ishyoboy.com/forums/topic/where-to-add-custom-php-code-to-be-displayed-under-pagination/#post-17541 Wed, 08 Apr 2020 11:34:58 +0000 prohedonism Works great! Thanks a lot!

]]>
https://support.ishyoboy.com/forums/topic/where-to-add-custom-php-code-to-be-displayed-under-pagination/#post-17542 <![CDATA[Reply To: Where to add custom PHP code to be displayed under pagination]]> https://support.ishyoboy.com/forums/topic/where-to-add-custom-php-code-to-be-displayed-under-pagination/#post-17542 Thu, 09 Apr 2020 06:31:08 +0000 IshYoBoy Hi, very glad to hear that. Have a great day!

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>