Visual composer WordPress plugin tabs not working - wordpress

After I updated my WordPress, the content of the visual composer plugins in tabs are not displaying properly. They are showing up as a sequential list. Can anyone direct me on how to go about fixing it?
The tabs in the backend editor look ok:
The actual page shows them as a list:
Thanks!

may be you forgot to add body class, for reference check this <body <?php body_class(); ?>>`

Related

How to find out where a script-tag has been defined in the wordpress-header?

I have to work in a wordpress project of a former colleague. But I cannot figure out how he added an link-address to a script into the header of each page. After a global search, the link-address was found inside the sql dump of the wordpress project. I could not find any plugin he might have used. I would like to change the link-address. Any idea, how he added it?
<script src="http://custom-link/page.js" type="text/javascript" defer=""></script>
It was added by the wordpress plugin divi builder.
Divi Theme Options
To add a code to every page navigate to Divi Theme Options > Integration tab.
Make sure the “Enable header code” option is checked, and paste your code below.

WordPress Visual Composer accordion won't load with css

When I use the Visual Composer WordPress plugin everything works great. Except for the accordion, Pageable container and some other elements. When I add these elements they do show on my page, however is seems that the CSS is missing.
I've tried to disable all other plugins, nothing changed.
Theme code for showing the content:
$post = get_post();
$content = apply_filters( 'the_content', $post->post_content );
echo $content;
Screenshot WordPress backend:
WP Backend
Screenshot frontend & console: frontend
Please note: other elements do work perfect, animations work, grid building work and more.
Also note: there are no errors showing up in the console.
Any help will be greatly appreciated!
Same problem with the latest version (5.4.7) and a custom theme.
I've noticed the body has lost the class wpb-js-composer, required to make visual composer works correctly.
If I add this class manually everything works fine.
I'm investigating on why this class has not been applied on the body by WP Backery (Visual composer)
EDIT
After a brief search I've found I forgot to add the body_class function to my template.
Before:
<body>
After:
<body <?php body_class(); ?>>
Now Visual composer accordions, tabs, and other elements works as expected.
this is plugin, if we want to change css then go to this step plugin->editor->select visual composer->go to the css file....then whatever u want to change in your css file...
i hope it will help you...

"Custom Field Template" plugin - Content area dissapearing when switching templates

On top of all: This is a great plugin.
But after the latest core upgrade to 3.3.1, the plugin got this big bug: If you have more than one fields template set, when switching from one template to the other, the main content area disappears. If the post/page is saved in those conditions, the main content ends up empty.
This is happening on all the sites where I have this plugin installed.
http://wordpress.org/extend/plugins/custom-field-template/
You could try do display it by editing your theme with code like this for every field you wish to display:
<?php echo get_post_meta($post->ID, 'my_CustomFieldName', true); ?>
This bug was fixed on a later release of the plugin.

how come the wordpress admin bar isn't being displayed properly?

i just upgraded to wordpress 3.3 and built a really basic template for some reason the wordpress admin bar on the site is displaying really weird. on the backend (dashboard) it is fine though.
i have attached an image, but is there a better way to view my problem? or has anyone else had it?
http://www.keganquimby.com/dev/
it wont let me upload an image, so to see my screen shot: http://www.keganquimby.com/dev/wp-content/uploads/2011/12/Screen-Shot-2011-12-15-at-3.07.29-PM.png
I didn't know you could actually disable the admin bar for the front end of your site altogether, which is what I needed. Clicking on users then toggling the "Show Toolbar when viewing site" option off did it!
If you have already included wp_head(); & wp_footer();
Check function.php for show_admin_bar(FALSE); and change it to show_admin_bar(TRUE);
Have you made sure that your header.php contains the wp_head(); function call as last line of your head container and that you have wp_footer(); as the last line of your body container?
It's hard to diagnose the issue since your error probably lies server-side (PHP code).

admin template selection is missing on page creation in wordpress 3.2.x

I am using WordPress 3.2.1 ,
Page template selection drop down is missing on Pages (Add,Edit)
wp-admin > Pages >Add New > Page Attributes
I Edit the Template Page Default page as below code
/*
Template Name: New Template
*/
But still the template drop down no visible , my older version of WordPress it display by default.
Following is the screen shot for more idea
I solved this problem solved by adding the typical following code:
/*
Template Name: Custom
*/
Don't add any spaces after Name:
It'll work if you use template name: as well.
It might help someone: check if your index.php file is in place.
If it's not there, wordpress treats the template as corrupt and it doesn't display the template selection.
This should be simple to troubleshoot. The requirements for the page template to work are straight forward:
The template needs the page title in the top of the file like you've shown (the title needs to be wrapped in a PHP tag, you probably just didn't add it with your example bu I want to make sure you havne't overlooked it):
<?php
/*
Template Name: Custom
*/
?>
The second requirement is that the file is in the root of the theme folder.
With those two requirements in place, it should work. If it isn't working you nave a few possible issues. I list a few off the top of my head:
You might need to re-install WordPress in-case a file was corrupted
during your last update.
It's possible someone has altered the WP-Admin layout using users
roles.
That's all I can thing of at the moment, let me know how it turns out.
I had the same issue. It actually turned out to be a missing style.css file within the template directory in my case.
This happens because the get_post_templates() in class-wp-theme.php first checks for errors. If it finds any then it returns an empty array (no templates are displayed).
A side effect of this is that saving a page would clear the existing template and use the page.php instead.
So in short if the errors() method of your theme returns any errors then no templates dropdown.
hope that helps someone.
Same issued, I found out that in appearance panel in your WordPress dashboard the stylesheet is missing. You shouldn't rename the style.css in your theme folder.
Not sure if this will help anyone, but we solved the problem by disabling our theme and re-enabling it again. We had some other theme folders in the theme directory that we weren't using so we deleted those out as well. good luck, it's a really random problem to solve!
yeah!template dropdown not showing because you have no template So how to solve this::---
1 create template folder in theme
2 create a template in this folder
like:-
<?php /* Template Name: Home */ echo "template"; ?>
and check-in page dropdown will be there.

Resources