How can we help?
If you are looking for support for our PokaTheme, this is the place!
Forum Replies Created
-
AuthorPosts
-
adminKeymaster
Hi,
You can change it by adding the following snippet to your functions.php in your child theme:
`add_filter( ‘register_post_type_args’, ‘change_slug_affiliates_cpt’, 10, 2 );
function change_slug_affiliates_cpt( $args, $post_type ) {if ( $post_type == ‘affiliates’) {
$args[‘rewrite’][‘slug’] = ‘inceleme’;
}return $args;
}`adminKeymasterHi,
Inside functions.php in your child theme.adminKeymasterHi,
I believe that the problem is misconfiguration in metaboxes array.
Just to be sure you can try to enable ACF options panel with:`add_filter(‘acf/settings/show_admin’, ‘__return_true’, 100);`
and try creating your fields with the Visual tool of ACF, if you still experience the same problems then indeed is something with the server configuration, if everything is saved correctly then you are doing something wrong in acf-metaboxes.php
adminKeymasterAs I can see in your child theme in the styles you have the following style:
`label {
display: none;
margin-bottom: .5rem;
}`I’m not sure what you wanted to do but this hides all the labels in your site.
If you remove the display:none you’ll see the form inputs again.adminKeymasterHi,
Can you send me a link with the problem to check it? (You can make it private if you want)adminKeymasterHi Chris,
You can try an online parser like http://www.writephponline.com/ and you can run the uniqid();
The main issues for not saving the data in custom fields are the IDs to be unique and the names to be valid.adminKeymasterIn the name it’s best if you keep it as simple as you can, remove the special characters, for example : Omsättningskrav -> omsattningskrav
Also change in all three fields from ‘type’ => ‘number’ to ‘type’ => ‘text’
Lastly the keys are created with uniqid() ? Because it is very important for these fields to be unique.adminKeymasterHi daftdog,
You can find the changelog for Poka v2 here : https://pokatheme.com/topic/changelog-of-poka-theme-v2/
adminKeymasterHi Christopher,
What is the procedure you followed in adding these new fields?
Have you added these new fields inside acf-metaboxes.php ?
If this is the case then it is very crucial that the IDs of these new fields to be unique.
For example “field_562a457b33100”.
You can generate unique strings with PHP function uniqid();adminKeymasterver. 2.0.3
16/02/2018
- In both Affiliate Widgets you can now set a list of specific reviews to be displayed in a custom order. (This new option overrides all the other options when it is used)
- In shortcodes [table_list] and [affiliates_list] there is a new parameter called “reviews” where you can enter a list of specific reviews to be displayed in a specific order. When this parameter is used overrides all the other parameters.
- The latest version of AMP plugin (0.6.0) broke AMP page template in Poka Theme, it’s fixed now.
- Admin bar is now displayed by default. If you want to disable it you can go to your user profile edit page and uncheck “Show Toolbar when viewing site”.
- In footer widget columns when there was only one column the padding was off the grid, it’s fixed now.
- Poka redirect function can now be overwritten in child themes for more flexibility.
- Shortcode [box_text] can now have other shortcodes inside it’s content
- In custom affiliate widgets the color of the order number was hardcoded, now it changes depending the “blue” color.
- Added responsive media steps in child theme style.css for reference.
- In shortcode [latest_news] a new parameter is added for the “Read all news” text. Now it is [latest_news num=”” cat=”” read_more_text=””]
- Tinymce static assets (js,css) are fixed with correct versioning and the filter “poka_static_version” is now used like the rest of static files of the theme
-
AuthorPosts