umdevelopera / um-account-tabs

Adds custom tabs to user account
GNU General Public License v3.0
9 stars 2 forks source link

Content not showing #11

Closed FD-Websolutions closed 7 months ago

FD-Websolutions commented 8 months ago

Hello, I have a problem regarding the content placed inside my account tabs.

If I create a tab and provide only a ultimate member form with it, everything is fine.

But if I just want to show some text and a shortcode (as in my example in the image), the tab does't show. In case of the combination of a ultimate member form and some content, only the um-form shows.

I am using WP Version 6.4.2, UM Version 2.8.1 and the latest code inside your repository.

Bildschirmfoto 2024-01-18 um 15 54 48
FD-Websolutions commented 8 months ago

Hello, is there any chance to find a solution? Otherwise I'll think on an other way to solve the problem :-)

umdevelopera commented 7 months ago

Hello @FD-Websolutions

I can not reproduce an issue you described. The tab displays both the content and the embedded profile form. See example below.

Maybe something is wrong with the shortcode you added to the tab. Does this shorctode contain a form? Shortcodes with forms can not be embedded to account because HTML does not allow placing a form inside a form.

Example: image 01 image 02

FD-Websolutions commented 7 months ago

Unfortunately the account tab doesn't show any content. Neither if I remove the shortcode and only put a simple string in the tab content. The tab only appears when I embed a profile form, but as well without my content.

Any idea on that? Which WordPress/Plugin versions do you use?

Bildschirmfoto 2024-02-26 um 10 56 08 Bildschirmfoto 2024-02-26 um 10 55 55