Forum Replies Created
-
AuthorPosts
-
Hi,
the Simple Job Board support gives me the custom post type name : “jobpost”.
So I try the following code in the Enfold Child theme functions.php
/*
* Code pour utiliser Advanced Layout Builder avec Simple Job Board
*/
function avf_alb_supported_post_types_mod( array $supported_post_types )
{
$supported_post_types[] = ‘jobpost’;
$supported_post_types[] = ‘jobpost’;
return $supported_post_types;
}
add_filter(‘avf_alb_supported_post_types’, ‘avf_alb_supported_post_types_mod’, 10, 1);function avf_metabox_layout_post_types_mod( array $supported_post_types )
{
$supported_post_types[] = ‘jobpost’;
return $supported_post_types;
}
add_filter(‘avf_metabox_layout_post_types’, ‘avf_metabox_layout_post_types_mod’, 10, 1);-> I have now ALB, but I no longer have the SJB content (job features and application form)
So I can’t use it.Someone have a solution to have Advance Layout Builder with the custom post type of Simple Job Board (but without delete the job features and application form) ?
If so, the plugin will become fully compatible with ENFOLD
Thanks
I try to use Advanced Layout Builder with the simple job board plugin.
So, I follow the recommandations here : https://kriesi.at/documentation/enfold/intro-to-layout-builder/#alb-for-any-post-typeAnd I replace ‘YOUR CUSTOM POST NAME’ by ‘jobs’
Here is the simple job listing general settings :
Jobpost Custom Post Type Slug: jobs
Job Category Taxonomy Slug: job-category
Job Type Taxonomy Slug: job-type
Job Location Taxonomy Slug: job-locationHere is the code I copy in the enfold chid theme functions.php :
function avf_alb_supported_post_types_mod( array $supported_post_types )
{
$supported_post_types[] = ‘jobs’;
$supported_post_types[] = ‘jobs’;
return $supported_post_types;
}
add_filter(‘avf_alb_supported_post_types’, ‘avf_alb_supported_post_types_mod’, 10, 1);function avf_metabox_layout_post_types_mod( array $supported_post_types )
{
$supported_post_types[] = ‘jobs’;
return $supported_post_types;
}
add_filter(‘avf_metabox_layout_post_types’, ‘avf_metabox_layout_post_types_mod’, 10, 1);But no Advanced Layout Builder available in the simple job listing post entry.
Can someone tell me what is wrong ?Thanks
Safe !
I can use the page templates to copy the content and then translate it manually.
if it can help someone else …Hi,
Thanks bzumoberhaus for this information.But I can’t wait the update, because I have to translate the site next week.
So I want to do it manually.
I duplicate a french page, and now I want to set it as the english translation. But I can’t do it too !
Someone knows how to do it ?I also tried to add a translation by clicking the + .
The page is created, and is empty.
But when I click “copy the french content” >> nothing !!Do I have to manually add all the content in the translated page ?
There is no other solution ?Thanks
Hi Ismael,
OK.
Pending the corrective update,
I will use the other method : duplicate the page and set it as a translation to the first page.
And after, manually translate the content.Thanks anyway and have a nice weekend
Hi Ismael,
Yes you can change temporarily the default language.
The site is not in production, it is a development site. (I made a WPvivid backup)Did you set the Translation Management > Multilingual Content Setup to “Use the translation editor” by default?
I’m not sure because WPML admin has change in this version (compared to video)Thanks
But I suppose, my problem is a wrong ENFOLD configuration for WPML ?
Hi,
what I want to do is translate myself, like the “Scenario 1 : do the translation yourself” of the video here : https://kriesi.at/documentation/enfold/translation/#how-to-translate-pages-built-with-enfold-using-wpml
But the WPML translation editor don’t offers me to translate the content of the page.I suppose I have a wrong WPML configuration ?
So I need help please.
ThanksThis reply has been marked as private.Thanks a lot Jordan !
I put this code :
#top .flex_column_table{
margin-top:0px!important;
}
And I had a space 6px between the 2 rows of columns.But why do I have to add this quick CSS with this update ?
You have an explication ?Thanks
Hi Nikko and Victoria,
it seems to work perfectly !
Thanks a lotHi Victoria,
No change.
Here is the code before and after the new functiun you give me :
<div class=’aviaccordion-preview-title-pos’>
<div class=’aviaccordion-preview-title-wrap’>
<div class=’aviaccordion-preview-title’>
<h3 class=’aviaccordion-title ‘ itemprop=”headline” >Appareil de levage</h3>
</div></div></div>
Thanks for helpThis reply has been marked as private.Hi Victoria,
I added your code in the function.php of the enfold child theme,
but there is always H3 in the accordion sliderthe page code :
…<h3 class=’aviaccordion-title ‘ itemprop=”headline” >Appareil de levage</h3>…Thanks for help
Ho Jordan,
You can close.
ThanksHi,
This code seems to work, so I’m going to choose this option.
/*
* Pour avoir un logo différent sur les pages de la boutique
*/
function avf_change_logo($logo)
{
if(is_archive() || is_shop() || is_product() || is_page(array(768,769,770,771,772,773,774,837,863))) {
$logo = “https://test.ericroymaraicher.fr/wp-content/uploads/2020/02/logo-le-jardin-des-roy.png”;
}
return $logo;
}
add_filter(‘avf_logo’,’avf_change_logo’);Thanks a lot everyboby
Hi Ismael,
Your code works but just for the shop page (not for the product pages).
So I modifie it for the pages I have the IDfunction avf_change_logo($logo)
{
if(is_archive() || is_shop() || is_page(array(768,769,770,771,772,773,774,837))) {
$logo = “https://test.ericroymaraicher.fr/wp-content/uploads/2020/02/logo-le-jardin-des-roy.png”;
}
return $logo;
}
add_filter(‘avf_logo’,’avf_change_logo’);can you please, give me the update for the product pages
ThanksHi Victoria,
So, Can you tell me how can I change the logo in the woocommerce pages ?
I will also search on my side
ThanksHi,
It’s perfect, you can close.
ThanksHi shannon,
I apply a custom CSS Class to a button, and I got the title styled like a button
/*—————————————-
// CSS pour titre avec style bouton et suppression du lien
//————————————–*/
.button-no-link {
pointer-events:none!important;
}Thanks a lot
This reply has been marked as private.Hi Mike and Rikard,
I have now 2 columns in fullwidth.
And I can ajust the space betwen the 2 columns with the CSS code below
.page-id-4069 .av-flex-placeholder {
display: none !important;
}
And for the horizontal space between the two rows, no need code, with the “Seperator / whitespace”.
thanks a lot for your help.Exactly what I wanted, your are the best Mike !
Thanks a lot !11 px exactly, to have the same space than between the 2 rows of columns.
ThanksHi Rikard,
Thanks, no I want to have 5 or 10 px.Can you please give me the code ?
ThanksHi,
I found the solution to my problem here : https://kriesi.at/documentation/enfold/color-section/#color-section-with-100-content-width
with the folowing CSS code :
/* Color section container width */
#fullwidthsection .container {
width: 100% !important;
min-width: 100%;
padding: 0;
margin: 0;
}
now, I am loking for how to reduce the space between the columns…
ThanksHi Rikard,
It’s OK with the code below
.bordure-gauche-colonne {
border-left: 1px solid #000000 !important;
}
Thanks a lotHi Rikard,
Sorry about that.
Yes, it works, exept for the color.
why ?
I put red for the test, but I need black.
whatever the color, it’s always gray
ThanksHi Jordan,
here is
ThanksMarch 5, 2019 at 6:20 pm in reply to: Enfold shortcode not rendering with The Event Calendar plugin #1075006Hi Victoria,
it seems to work with this beta version
Thanks -
AuthorPosts