Forum Replies Created
-
AuthorPosts
-
Thank you Yigit, this solved the issue!
Best
AndreaFebruary 9, 2016 at 5:20 pm in reply to: Blank header blank footer template doesn't work well in responsive mode #580478I said the word “Responsive” ;) hopefully someone from the support team will help me out, I need to launch this page asap :/
February 9, 2016 at 12:58 pm in reply to: Blank header blank footer template doesn't work well in responsive mode #580369Please check the page attached.
The issue is that I set it as a template: Blank: no header, no footer, but on mobile it doesn’t not fit properly within the screen.
If I set the Template as Standard, then the responsive works.I hope I was clear. in case let me know
Thank you!
ehehe unfortunately, nothing happens. I checked all the threads about that plugin + Enfold and apparently they just don’t work for some reason. Yet I really need to find a way to create a sticky widget as it would help me make more money and get more leads. So any help would be greatly appreciated. Thank you! :)
Thank you very much, it worked :)
Hi, I didnt make any js changes in the child theme. Are you sure these js errors could be due to the parent theme or could it be the plugins?
Now the footer is behaving correctly. I don’t know what happened as I edited the page more and more the problem disappeared.
I am doing the theme reupload now. Kindly let me know if you still see the js errors.
Thanks a lot!
Andrea
Hi there
I added the code at the end of my functions.php file located in my child theme but it didnt remove the permanent link. What could be wrong?
Thank you!
AndreaHi there, if I upload a fresh copy of the theme, should I also change the child theme? are the js errors in parent or child theme?
Thank you!
Hi! Those comments do not exist, but the site displays there are 2. That is still a problem. What else can i do?
Oh mistake. Those comments are counted, but they do not exist actually. Forgive my previous error.
Nothing I followed the procedure and the problem is still there. I checked without child theme and the problem was still there.
Waiting on your kind reply. Thank you!
Hi there, yes I could see them. The plugin I used was Disqus.
My question now is, should I also delete and reupload the Child Theme?
Thank you in advance
OK Elliott, I will take some time and try this. Thank you
Thank You Josue!
PS: in the new 4 version you forget to update the version in the css file. So in WP the version did’t change even if the new features are updated.
YOU WON’T BELIEVE IT!
It was all due to Akismet plugin!!! I deactivated it and it works now again. haha im glad I found the problem ;)
thank you
thanks so much Josue!
They are in the php template file I am making: single-custom_post_name.php
Hello Josue,
I would like to assign the $user in the Name field, and the $email in the email fields.
thanks!Ok, I can hide it with css no problem, and what about to assign a value to them. Is it possible?
thanks!Ok,
i try to explain this as clearly as I can.
A screenshot of the page is not useful, because you’re going to see a normal page with a normal contact form on it.
Here it is the code of a single.php page ( cleaned from the unnecessary code for this purpose )<?php get_header(); echo do_shortcode( "[av_contact email=' (Email address hidden if logged out) ' title='' button='Inviare' on_send='' sent='La tua domanda è stata inviata!' link='manually,http://' subject='' autorespond='' captcha='' color=''] [av_contact_field label='Nome' type='text' options='' check='is_empty' width='element_half'][/av_contact_field] [av_contact_field label='E-Mail' type='text' options='' check='is_email' width='element_half'][/av_contact_field] [av_contact_field label='Messaggio' type='textarea' options='' check='is_empty' width=''][/av_contact_field] [/av_contact]" ); get_footer(); ?>
as you can see the shortcodes are exactly the shortcodes that the layout builder uses to generate the contact form.
I would like to know how to hide a field, but give a valure to hit. Example: the filed “name”. I want to hide it from the frontend, such a hidden file does, but I want to give it a value ( the username ) and receive it in the email.I tried
[av_contact_field label='Nome' type='hidden' options='' check='is_empty' width='element_half' value='Pippo'][/av_contact_field]
but with no succes.
Hello Elliot and thanks for support,
I try to better explain what I would like to do.
I want to use the shortcode generated by the contact module in the layout builder.<?php echo do_shortcode( "[av_contact email=' (Email address hidden if logged out) ' title='' button='Inviare' on_send='' sent='La tua domanda è stata inviata!' link='manually,http://' subject='' autorespond='' captcha='' color=''] [av_contact_field label='Nome' type='text' options='' check='is_empty' width='element_half'][/av_contact_field] [av_contact_field label='E-Mail' type='text' options='' check='is_email' width='element_half'][/av_contact_field] [av_contact_field label='Messaggio' type='textarea' options='' check='is_empty' width=''][/av_contact_field] [/av_contact]" ); ?>
This code is working, but I woul like to hide the name, email, and object, becuase the name is the user name, the email is the email of the user and the object is the url of the page. So I need a way to hide and also to assaign the values to that fields.
thanks!
This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.Hello and thanks for answer.
I think I found a good way to do what I want ( and possible other people want also ).
What I would like to do is, ini my child theme, to create my custom post template using the Layout Builder, but only to create the template and not to give the user the right to use and change it. In this way, if I want to change the layout of all the custom post, I have only to change the template, and not change the setting for every single custom post.What i did is:
0) Activate the layout builder for your custom post ( https://vimeo.com/64996057 )
1) Make a page using the Layout Builder to generate the shortcode. This will be your template for the custom post.
2) Copy the shortcode it generates and save it somewhere ( you must have the avia debug ON to see them into the admin page, just put into your functions.php file this:add_action('avia_builder_mode', "builder_set_debug"); function builder_set_debug(){ return "debug"; }
3) Copy the template-builder.php in your child theme directory.
4) In this file, at the beginning of the file, get all your data of your custom post from $post:
– Your content
– Your custom fields
5) Now put it into a $content variable which must have all the shortcodes you copied before with your content and custom field inside. I suggest to use heredoc method:$content = <<<EOD [av_section color='main_color' …….. [av_video src=‘$my_video’ format='16-9' width='16' height='9'] [av_textblock size='' font_color='' ….. etc….. EOD;
Also better if you do step 4 and 5 in a function like get_your_custom_post_template( $post ); that return $content.
6) Now go to the line
$content = apply_filters('avia_builder_precompile', get_post_meta(get_the_ID(), '_aviaLayoutBuilderCleanData', true));
and make an if statement where you check if is displayed your custom postif ( $post->post_type == 'your-custom-post' ){ $content = get_your_custom_post_template( $post ); $content = apply_filters( 'avia_builder_precompile', $content ); } else { //filter the content for content builder elements $content = apply_filters('avia_builder_precompile', get_post_meta(get_the_ID(), '_aviaLayoutBuilderCleanData', true)); }
Everything is working, but there are something still to fix.
1) How to make default setting fot the Layout ( right sidebar admin panel. Example set the Page Layout, and the Header setting ). I see that these settings are registered in a custom fields, like:
_aviaLayoutBuilder_active
sidebar
header_transparency
etc….
But I don’t know where to hook to set these, if during the save or during the get of the page.
Moreover we can hide from the user the Layout on the sidebar with css.2) Avoid the user to activate the Advanced Layout Editor. Infact in case he doesn’t activate it, the template is going to use the single.php ( or single-your_custom_post.php in case ) template.
3) On the frontend I have a div with nothing inside that make a white space between the menu and the content. It is this one:
<div class=”main_color container_wrap fullsize”>…</div>
I think it is due to the fact that this is a post and not a page. Do you know how to avoid it?I thinks is all, and thanks do much for support
I see that if I modify the meta.php file inside the enfold folder and I add for the ‘page’=>array my custom post ( twice ), I have the layout in the sidebar. There is another method to set this inside the chiuld theme?
And also my second question is still valid ( how to set these value inside the custom post template ).thanks!
Hello Josue and sorry for the late reply. I did as you said but nothing showed up. I could see that an html line was printed but nothing was being shown.
How else can I try? Thank you for your help! :)
Hi, its not working. When I resize it, the content in the slider disappears and its only visible partially.
Thank you in advance
Hi Arvish
No everything is as it was. I feel there is an incompatibility of some sort between wp 4.0 and Enfold 3.0 on some servers. Coulkd it be?
I tried with plugins OFF and still had the same issue.
If you know anything please let me know. Thank you!
-
AuthorPosts