Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ACF missing LSB for user profile #1270

Closed
manh-trinhquoc opened this issue Dec 26, 2022 · 3 comments
Closed

ACF missing LSB for user profile #1270

manh-trinhquoc opened this issue Dec 26, 2022 · 3 comments
Labels
module: ACF Integration with ACF

Comments

@manh-trinhquoc
Copy link

I create custom field at user profile page (wp-admin/profile.php) and it not working at all. The languague switching button is not showing.

image
image

I use wordpress 6.6.1 and qtranslate-xt 3.12.1

@herrvigg herrvigg changed the title plugin broken at user profile page ACF missing LSB at user profile page Dec 26, 2022
@herrvigg herrvigg changed the title ACF missing LSB at user profile page ACF missing LSB for user profile Dec 26, 2022
@herrvigg herrvigg added the module: ACF Integration with ACF label Dec 26, 2022
@herrvigg
Copy link
Collaborator

Up to qTranslate-XT 3.12.1 you were supposed to add that profile.php page in ACF options, but I don't know if this used to work. There were many bugs due to incomplete configuration.

There are many fixes for ACF with qTranslate-XT 3.13.0 and the page list have been removed from the options. Unfortunately the profile.php page is missing... but the fix is very easy now, I pushed a fix to master and this works.

So you have two options:

  1. Download latest master.zip
    or
  2. Install QT-XT 3.13.0 (download or github updater) and fix it locally by adding profile.php => '' in this list
    'pages' => [
    // TODO: see how to handle this more dynamically with current_screen.
    'admin.php' => '', // custom admin options (ACF Pro).
    'comment.php' => '',
    'nav-menus.php' => '',
    'user-edit.php' => '',
    'user-new.php' => '',
    'widgets.php' => '',
    ],

@manh-trinhquoc
Copy link
Author

I upgraded to 3.13 and it works smoothly. thanks you so much!

@herrvigg
Copy link
Collaborator

herrvigg commented Apr 2, 2023

Fix released in 3.14.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: ACF Integration with ACF
Projects
None yet
Development

No branches or pull requests

2 participants