How can we help?
If you are looking for support for our PokaTheme, this is the place!
Forum Replies Created
-
AuthorPosts
-
adminKeymaster
You’re welcome!
adminKeymasterYou’re welcome!
adminKeymasterHello Angel!
We missed to include the “Load More” in the translatable strings, sorry for that, it will be fixed in the next version release. But for the time being you could use the following code snippet (add it in your child theme’s functions.php).
For Affiliates Tables:
function poka_load_more_button_fn() { ?> <a href="#" class="btn btn-primary btn--full jsLoadMoreButton load-more-btn"><span>Load More<span class="spinner"></span></span></a> <?php }
For Affiliates Lists:
function poka_load_more_button_list_fn() { ?> <a href="#" class="btn btn-primary btn--full jsLoadMoreButtonList load-more-btn"><span>Load More<span class="spinner"></span></span></a> <?php }
adminKeymasterHello Angel!
You’re looking for the “NUM” parameter of the block. If you choose e.g. 3 reviews and you enable the Load More option, then on every click the block will load 3 more reviews.
adminKeymasterver. 4.1.0
20/12/2023
- Added color option for FAQ block in Customizer.
- Introduced sponsored affiliate modal.
- Implemented ‘Load More’ functionality in Reviews blocks.
- Updated PokaTheme v3 shortcodes to redirect to the new versions.
- Added support for Google Tag Manager.
- Included custom sorting options for the affiliate table block.
- Incorporated a feature for custom sorting.
- Implemented a Custom Preloader feature.
- Added an option for different logos on Desktop and Mobile.
- Provided support for right-to-left (RTL) sites.
- Added metadata/schema information about Authors in the Affiliates section.
- Updated Twitter icon.
- Compatible with WordPress 6.4.2.
- Compatible with PHP 8.
Affected theme files:
assets/public/css/bundle.css
assets/public/css/bundle.min.css
assets/public/fonts/pokatheme.eot
assets/public/fonts/pokatheme.svg
assets/public/fonts/pokatheme.ttf
assets/public/fonts/pokatheme.woff
assets/public/js/app.js
assets/public/js/gutenberg.js
assets/public/js/gutenberg.min.js
assets/public/js/pigl-ajax-mode.js
assets/src/js/components/global.js
assets/src/scss/core.scss
assets/src/scss/modules/_grid.scss
assets/src/scss/modules/_vars.scss
assets/src/scss/partials/_elements.scss
assets/src/scss/partials/_faq.scss
assets/src/scss/partials/_header.scss
assets/src/scss/partials/_main.scss
assets/src/scss/partials/_nav.scss
assets/src/scss/partials/_preloader.scss
assets/src/scss/partials/_sponsored-affiliate-review.scss
footer.php
functions.php
header.php
inc/core/helpers.php
inc/core/helpers-affiliates.php
inc/core/hooks.php
inc/core/setup-theme.php
inc/customizer/class-poka-customizer.php
inc/customizer/customizer-functions.php
inc/customizer/customizer-repeater/class/customizer-repeater-control.php
inc/geolocation/vendor/geoip2/geoip2/src/Model/AbstractModel.php
inc/geolocation/vendor/geoip2/geoip2/src/Record/AbstractRecord.php
inc/gutenberg/blocks/affiliates-list/affiliates-list.php
inc/gutenberg/blocks/affiliates-list/edit.js
inc/gutenberg/blocks/affiliates-list/index.js
inc/gutenberg/blocks/affiliates-table/affiliates-table.php
inc/gutenberg/blocks/affiliates-table/edit.js
inc/gutenberg/blocks/affiliates-table/index.js
inc/messages.php
inc/shortcodes/affiliates-shortcodes.php
inc/shortcodes/deprecated-v3-shortcodes.php
inc/shortcodes/various-shortcodes.php
inc/templates/affiliates/affiliates-row-style1.php
inc/templates/affiliates/sponsored-affiliate-review.php
inc/templates/affiliates/sponsored-row-style1.php
inc/templates/header/header-logo.php
inc/templates/header/header-style1.php
inc/templates/header/header-style2.php
inc/templates/partials/carousel.php
inc/templates/partials/preloader.phpadminKeymasterHi Peter!
We’re here for you anytime! Feel free to reach out whenever you need assistance.
adminKeymasterYou can add this code either in your child theme’s functions.php or if you use a plugin like Code Snippets. Replace “Your Custom Title Here” with your desired title.
// Function to modify the title for the 'affiliates' post type archive function custom_affiliates_archive_title($title) { // Check if it's the 'affiliates' post type archive if (is_post_type_archive('affiliates')) { $title = 'Your Custom Title Here'; // Replace 'Your Custom Title Here' with your desired title } return $title; } add_filter('pre_get_document_title', 'custom_affiliates_archive_title', 9999);
- This reply was modified 1 month ago by admin. Reason: Mention child theme
adminKeymasterHi again Peter,
You want to change the <title> element?
Maybe you could go with a SEO plugin like Yoast, I’m pretty sure if you install it it lets you change the title that shows up there.
- This reply was modified 1 month ago by admin.
adminKeymasterHi Peter,
First, if you refer to code changes that you did, I suggest not to overwrite the parent theme files, only do code changes in the child theme.
About the Reviews archive page, this isn’t a specific page, it’s a template, so if you want to make changes to it you should copy archive-affiliates.php to your child theme and make changes there.
The “Reviews archive” string is translatable, we have a guide for creating/changing translation strings here: https://pokatheme.com/topic/how-to-createedit-language-packs/
adminKeymasterHi Gilberto,
Could you send us an email at support@pokatheme.com with your site details?
We need WordPress administrator username/password and FTP (or hosting) credentials if possible.
This way it’ll be easier for us to investigate what’s wrong!
-
AuthorPosts