Questions tagged [tabs]
The tabs tag has no usage guidance.
93
questions
0
votes
0
answers
9
views
media not opening in a new tab
I have links to many media links that are photos on a post in wordpress. I have the settings as "open in a new tab." Unfortunately whenever I click on them it just opens up the photo on the ...
0
votes
0
answers
11
views
Filtering Tabs in a Custom Post Type's Edit Page
I am using LearnDash to create courses on WordPress.
A key thing is that I have other non-admin instructors that will also help me create lessons.
The thing is, the lesson edit page has a "...
0
votes
1
answer
97
views
Displaying all ACF field labels and values from a specified field-group on WooCommerce product page
I'm trying to display the contents of a specific ACF field group in a tab on a WooCommerce single product page. Unfortunately I'm not getting any data displayed using the code below, although I do if ...
0
votes
0
answers
273
views
Custom jQuery code in Elementor page is not working on Mac os. On Windows browser work fine
Custom jQuery code in Elementor page is not working on Mac os. On Windows browser work fine.
I make small jQuery script for tabs and put in Elementor page.
On all Windows browsers is working fine, but ...
0
votes
1
answer
113
views
Add custom ID to WooCommerce product tab
I've created a custom product tab in my functions.php - it looks like this:
add_filter( 'woocommerce_product_tabs', 'custom_description_tab' );
function custom_description_tab( $tabs ) {
global $...
0
votes
0
answers
74
views
Access jQuery tabs from primary menu while adding/removing class on tab container elements (accessing diff. tabs/tab content via primary menu items)
I’m working on a WP site (currently localhost only) with a regular WP horizontal primary menu. On the front page further down I have a set of 8 vertical tabs (based on jQuery tabs) which are toggled ...
1
vote
0
answers
19
views
Translate Woocommerce tab
I have added a new tab in Woocommerce but I can not find how to add translation to it (I am using WPML plugin)
do anyone has an idea how to deal with that?
I need translation of the content of title
...
0
votes
1
answer
46
views
woocommerce_sort_product_tabs() expects an array
I am trying to add a custom tab to Woocommerce Product ; I have tried with this code snippet in functions.php :
add_filter( 'woocommerce_product_tabs', 'woo_new_product_tab' );
function ...
0
votes
0
answers
49
views
Metaboxes inside Tab
I am learning WordPress Plugin development. In this regard I have to save some settings along with Custom Post in Admin Panel under a Menu. Can I place metaboxes inside tab for this issue like the ...
0
votes
2
answers
902
views
Visual and Text tabs missing from Editor
I have two WordPress servers installed with an identical server and WordPress configurations (same WordPress version, same PHP version, same plugins and same theme). The point is that the Visual and ...
0
votes
0
answers
742
views
How can we make tab menus dynamically. How can we show it in wordpress theme
menu addition in wordpress ok. But I couldn't figure out how to add Tabs Menu in Wordpress. I want to do it without page refresh (nav-tabs class). For example 3 tabs just below the slider in the link. ...
1
vote
0
answers
106
views
user-edit.php profile options on TABS
I´m looking to show all the profile info in the admin area inside tabs. Actually, I see a lot of info of wordpress and other plugins and is too dificult to edit some information that appears on the ...
0
votes
0
answers
186
views
Edited one page in my working menu and now all menu buttons don't open unless I right-click and open in new tab
I just recently edited a page on my site and changed the page in my main menu, however now all of my menu buttons don't work unless I right-click and open in a new tab...then the page appears. I have ...
0
votes
1
answer
382
views
Looping Through Categories of a CPT
I am trying to create tabs using the Foundations framework, outputting posts from a custom post type called testimonial and filtering them through their assigned custom category called filed-under. ...
0
votes
1
answer
23
views
Change order of combined product tabs
I found and implemented the following code. I need the Additional Information to display BEFORE the Product Description content. I have been looking through posts for hours with no luck.
add_filter( '...
0
votes
0
answers
28
views
removing description tabs - single product page - breaks footer
I would like to only dispaly the gallery & short despcription on the single product page.
Using:
add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );
function ...
0
votes
0
answers
88
views
Multiple Loops In Tabs Only Displaying First Loop
I've browsed all the other questions that could be related to this and still can't find the answer. My code is only displaying the results of the loop in the first tab, but won't show it in the second ...
1
vote
1
answer
377
views
Woocommerce - Want to move the product tabs below short description
i've two questions. I would like to move Woocommerce-tabs underneath my short description on the right side. I found this but the accordion is not full-width.
remove_action( '...
2
votes
0
answers
232
views
How to add SVG icon above product tab title
I used the following code to create custom product tabs (woocommerce), and now I was wondering if I can add an SVG icon above the tab title.
My code for a custom product tab:
add_filter( '...
0
votes
0
answers
80
views
Plugin information tabs show large blank area at top
WordPress plugin information tabs all display a large blank area at the top of the scroll box. This occurs using Chrome, Firefox, and Edge browsers. Scrolling down into the text box show the desired ...
0
votes
1
answer
223
views
Custom slugs for Each Tab
I have a website for musicians information. The information is divided to few different subjects, using tabs - 'General', 'Songs', 'Albums' and 'Videos.
<?php if($tab_story){?>
<li role="...
2
votes
2
answers
1k
views
Hide tabs on woocommerce product editor for user role
I need help how to hide custom product data tabs (created by plugins) for custom user role on product page editor (see image).
I think it suppose to be done by modifying its CSS and apply it on ...
1
vote
1
answer
2k
views
Move WooCommerce product tabs out of the tabs [closed]
I want to have the product tabs out of the tabs section and put them one down the other with no need of having the tabs functionality.
I can unset the tabs
add_filter( 'woocommerce_product_tabs', '...
0
votes
1
answer
206
views
Display all posts from specific category
Problem:
I'm trying to display all posts from a specific category named 'Culture' (slug: culture) in my website. However, I'm always getting an empty field.
My Attempt:
I've tried to use the same ...
0
votes
2
answers
980
views
Starting with tabbed metabox
I need a tabbed metabox for my plugin.
Actually they are 5 metaboxes each one in a tab.
I found these scripts:
https://speckyboy.com/10-simple-code-snippets-creating-beautiful-tabs/
Which one is ...
1
vote
1
answer
356
views
How to create admin tabs [closed]
What I am trying to achieve is the following tab setup as in the "CoursePress" plugin for WordPress. My idea is to have different tabs for a custom post type, where the main setup tab also has the ...
1
vote
2
answers
163
views
Shortcode insertion in tab
I created a plugin that displays staff people using a shortcode with custom category from a post type. eg. [board-members term="team1"] It works fine but only on a page or post. When I paste the ...
0
votes
1
answer
645
views
Click on image to open Text
I"m using Tabby Responsive Tabs at the moment but I was wondering if anyone knows how to make a tab section where you click on an image, and text comes up instead of the standard text tabs? Would I ...
1
vote
1
answer
1k
views
Disable the "Skip to Toolbar" tabbing accessibility feature
Is there a WordPress setting or hook that I can use to disable the WordPress "Skip to Toolbar" accessibility feature?
I'm referring to the small popup that appears when tabbing through form controls:
...
-3
votes
1
answer
1k
views
Select Tab name to show in browser's URL
I'm a front-end developer and currently working on a wordpress site.
The site have a Tabbed section on one of the page, clicking on any tab load the relevant div (as expected). What I want is, when ...
3
votes
1
answer
691
views
Keep pasted pre formatted code as it is -with tabs- in visual editor
I need a manual code to my functions php to extend the visual editor from removing tabs when pasting code blocks.
I tried this code, found at this site, but it does not work as I want. If I got:
...
0
votes
1
answer
293
views
Retrieve posts inside foundation tabs and tab-content split by 3 per row
<?php
/*
Template Name: Page information
*/
get_header(); ?>
<div class="row">
<div class="main-wrap" role="main">
<?php do_action( 'foundationpress_before_content' ); ?&...
0
votes
2
answers
8k
views
Remove link from product attributes in tab "additional information" [closed]
Since some updates of WooCommerce, Wordpress, Theme etc. on our product pages in the product-tab "additional information" some attributes are now linkable (to some automatic created pages). I cant ...
0
votes
1
answer
508
views
How to get related posts and wp comments under tabs
I am a novice and want to show two tabs under every wordpress post. Under the first tab there would be related posts and under the second tab there would be wp comments. So The default comment area ...
0
votes
2
answers
2k
views
ob_get_clean(); doesn't return $value in shortcode?
i using this code:
<?php ob_start(); echo '<div class="judul"><h3 style="text-align: center;"><strong>Download <?php echo esc_html( $judul ); ?> Batch Kumpulan Subtitle ...
0
votes
1
answer
260
views
What is $tab in `install_plugins_{$tab}` hook?
Goodman asked:
When searching for a way to connect an action to plugin install (not activate), I saw two action hooks in plugin-install.php. one is install_plugins_{$tab} and the other is ...
1
vote
1
answer
2k
views
Woocommerce: custom loop in product tabs breaks reviews tab
I came across a weird issue, not sure whether it's a bug or something is wrong with my code.
Woocommerce allows to show cross-sale products only in the cart by default, so I had to make a custom loop ...
1
vote
1
answer
58
views
add tabs in rdp-plugin/includes/settings.php and get settings saved
In my plugin settings page i have to add a lot more settings. To get it correct I need some tabs for better understanding.
Here a screenshot as I add it with simple html coding in my rdp-plugin/...
-2
votes
1
answer
70
views
How does Wordpress add the comments and comment form to posts
I have created tabs in my single.php file. I would like to move my comments from the bottom of the posts to the comments tab. I have can't seem to find how to do this. I have copied everything from ...
1
vote
1
answer
2k
views
Iframes inside bootstrap tab disappear when tab is shown
I am currently struggling with strange iframe behaviour: I have bootstrap tab with three youtube iframes in it. When I go to this tab for the first time, iframes dissappear, but if I click on another ...
3
votes
1
answer
586
views
Generate a tabbed submenu — from taxonomy term or submenu item — with sample content
I'm looking to generate a tabbed submenu from taxonomy term or submenu item and include sample content (three items per term/submenuu item). The styling I can do, the problem is the html generation.
...
1
vote
1
answer
4k
views
Display meta box on front end
I'm trying to add a meta box into a custom post type and display the text on the front end.
I made a meta box as follows:
array(
'name' => __( '<b>Schema</b>', 'themeum-soccer'),...
0
votes
1
answer
50
views
Site-wide tabs at WordPress website?
Is there a solution to add tabs at the whole site (site-wide) and not just in posts and pages?
For example:
I need one "tabs group" consisted of 3 tabs, and I like to add it sitewide (the same ...
0
votes
2
answers
879
views
Using javascript on my site to create nested tabs
Side note: I've been designing in wordpress for only a few months, and don't know where else or how else to ask this, so my language may seem somewhat inaccurate.
I'm using the Jupiter theme within ...
0
votes
1
answer
7k
views
Dynamic bootstrap tabs with post_title doesn't display the_content
Im trying to use bootstrap tabs to have a tab system following:
Each tab has the_title (post title), on click of each tab, display the content.
So far, I have all the tab listed correctly, and the ...
3
votes
1
answer
2k
views
Switch to the library tab in the media uploader
I'm developing a plugin that adds a tab to the media uploader to add external videos to the media library via oembed. Everything works as expected but I need to switch to the library tab after adding ...
0
votes
2
answers
4k
views
Logo on the tab
I would like to add a logo on the tab of my website (e.g. Wordpress logo which appears on all pages' tabs of Wordpress)
How and where can I upload my image?
Thank you for your help,
0
votes
1
answer
946
views
Theme development: menu links a tabbed page with page jumps
This might sound like a basic question, but It is my first time developing for wordpress:
I am developing a theme, I need to have:
A landing page with navigation menu
Another page that the landing ...
1
vote
1
answer
469
views
wp_customize_image_control deprecated add_tab alternative
I have been using add_tab to add a tab in Customizer with default images. It is deprecated and no longer works in WordPress 4.1. How can I create/find an alternative?
add_action( 'customize_register',...
0
votes
1
answer
5k
views
How to build a shortcode for tabs
I made a tabbed widget to display recent posts, comments, and popular posts. Now I want to take out the tab function and make a shortcode of it, so I can add it to WP posts and use it there.
<div ...