Hi!
1. Replace Elliot’s CSS code with this:
.author .blog-meta .rounded-container {
width: 300px;
height: 300px;
border-radius: 300px;
}
.post-author-format-type img {
width: 100%;
height: 100%;
}
@media only screen and (min-width: 767px) {
.author .blog-meta .rounded-container {
position: absolute;
left: -100px;
top: -50px;
}
.author_description {
margin-left: 250px;
}
}
2. Possible but it would require a deeper customization to the theme which falls beyond our support scope, however i found something that could be of help:
http://www.paulund.co.uk/how-to-display-author-bio-with-wordpress
The bio is handled by the /includes/loop-about-author.php file.
3. Open /includes/loop-author.php and look for this line:
echo $title;
Replace it by:
echo get_the_post_thumbnail();
echo $title;
Regards,
Josue
This reply has been marked as private.
Hi!
Try creating the needed template files in your child theme directory, refer to this on which filenames to use:
https://codex.buddypress.org/themes/theme-compatibility-1-7/template-hierarchy/
You can use the Enfold’s page.php template as a model, modify the get_sidebar() part to get the desired sidebar you want for the BP pages.
Cheers!
Josue
Hi Ismael, unfortunately that code broke the whole site when I put it in.
Parse error: syntax error, unexpected T_FUNCTION in /nfs/c07/h04/mnt/178875/domains/test.theburningear.com/html/wp-content/themes/enfold/functions.php on line 520
Is there a specific place it the file it needs to go? I put it at the end.
Hey!
Use a hook on functions.php:
add_action('ava_after_main_container', 'ava_after_main_container_mod');
function ava_after_main_container_mod() {
echo '<a href="http://www.lightsandmusic.com/"><img class=" size-full wp-image-51945 aligncenter" src="http://test.theburningear.com/media/2015/03/TEST-Leaderboard.png" alt="TEST-Leaderboard" width="728" height="90"></a>';
}
Regards,
Ismael
This is the code I pasted in the
public_html/wp-content/themes/enfold/config-gravityforms/config.php
http://s11.postimg.org/s8kp7mxqb/gravity.png
Hey!
It sounds like your running into a limit with your server. I would try contacting them and show them the code Yigit provided, https://kriesi.at/support/topic/menu-not-picking-up-styling/#post-409781, to make sure you did it correctly. Or ask if they have any idea on what it could be.
Also try increasing the max_input_vars.
php_value max_input_vars 3000
Regards,
Elliott
-
This reply was modified 11 years, 1 month ago by
Elliott.
Hi!
1. Add this to your custom CSS.
.prev-slide::before {
content: "\e822" !important;
}
.next-slide::before {
content: "\e830" !important;
}
You can find other icon codes to use in the functions.php file around line 170.
2. We are too busy to take on custom work at this time. I would check with Werkpress or Envato Studio if your wanting to hire a freelancer. You could also try looking for a slider plugin that does this but I do not know of any I can recommend.
Regards,
Elliott
This reply has been marked as private.
This reply has been marked as private.
Thank you. I commented everything in /enfold/config-templatebuilder/avia-template-builder/php/media.class.php from line 78 down.
Nothing broke. Phew.
But your solution is better, of course.
-
This reply was modified 11 years, 1 month ago by
unavailable.
This reply has been marked as private.
hello,
when i open my site in the browser, it works fine (www.dingadu.de), but sometimes, when i want to visit it by an external link, for example in an email, i get the following error:
Warning: session_start(): open(/tmp/sess_3a186870ad84baec04306296231da1da, O_RDWR) failed: Permission denied (13) in /homepages/45/d42330360/htdocs/dingadu/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php on line 33
i have no clue what to do about it.
best regards
philipp
Hi – I’ve tried all the other sliders and even just an image, but they all return an error. The shortcodes are just too complicated.
This is the shortcode to insert a full width slider:
All I want to do is display 1 large image at the top to ever post. I do keep trying what you suggest, but it never works. Is there any chance you could tell me the exact shortcode I need to use please?
When I have done that I would also like that same image to be at the top of the main blog page (which is the php file I edit for that?
Thanks
Thanks for your help Elliott
I was able to fix the bug as :
Go to this page(template-builder.class.php) located at : /themes/enfold/config-templatebuilder/avia-template-builder/php/template-builder.class.php goto line 187 or find script
wp_enqueue_script(‘avia_element_js’ , $this->paths[‘assetsURL’].’js/avia-element-behavior.js’ , array(‘avia_builder_js’), $ver, TRUE );
Comment this line
//wp_enqueue_script(‘avia_element_js’ , $this->paths[‘assetsURL’].’js/avia-element-behavior.js’ , array(‘avia_builder_js’), $ver, TRUE );
And go to wordpress browser refresh your page where you caught error(continues spinning) in dashboard editable page. after refreshing the page it will loads the page without spinning, and again uncomment script line(revert back what changes done) and refresh again then you will load editable page without continues page spinning.
Alex
I’m trying to recreate active sub-menus that have background color from this site:
http://www.seattlenanny.com/about-us.php
I’ve been able to recreate this in Enfold for the first level sub-menu but nothing further, as seen here:
http://test.seattlenanny.com/?page_id=24, using this CSS:
/* color of active menu item */
.header_color .main_menu ul:first-child > li.current-menu-item > a { background:#53a3b7 !important; color: #ffffff!important; }
.current-menu-item .avia-menu-text {
color: #ffffff!important;
}`
Any ideas or help would be greatly appreciated! Thanks in advance!
-Jack
Hey Jon!
Try opening up /enfold/framework/php/class-form-generator.php and around line 371 you should see this.
showButtonPanel: true,
Add this beneath it.
minDate: 7,
Best regards,
Elliott
Hi romano2!
In /enfold/config-templatebuilder/avia-shortcodes/portfolio.php, around line 720:
$output .= "<h2 class='portfolio-preview-title entry-title' $markup><a href='{$link}'>".$entry->post_title."</a></h2>";
But you’d first need to get the taxonomy ID in order to get term_description to work. You can use this function for that – http://codex.wordpress.org/Function_Reference/wp_get_post_terms
Regards,
Josue
Hi, I have been trying to upgrade my clients site from v 1.4 to the latest version – 3.0.8. I have already upgraded wordpress and all corresponding plugins.
However, when upgrading via ftp, all i now get is the following error message when trying to view the sites admin:
Fatal error: Call to undefined function shortcode_exists() in /hermes/bosweb25a/b71/nf.babacool/public_html/babacool.net/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/shortcode-template.class.php on line 308
I have downloaded and installed the latest theme files from themeforest twice today with no success.
Any help on this would be appreciated.
Regards,
Anne Nelson
Hi!
We do not supply any copies of jQuery. We use the WordPress wp_enqueue_script function to include the version of jQuery that gets shipped with WordPress, http://codex.wordpress.org/Function_Reference/wp_enqueue_script.
This is how all themes and plugins should be adding jQuery to make sure there are no conflicts. You can see where we enqueue it on line 279 in the functions.php file.
wp_enqueue_script( 'jquery' );
Though we do include the LayerSlider with Enfold and it has an option to include a copy of jQuery from the Google CDN in Dashboard > LayerSlider > Troubleshooting & Advanced settings so make sure that is turned off.
Cheers!
Elliott
Ismael,
Thanks much! It shows up but messes up the styling and even some layout on woo single.
I added this : <?php echo do_shortcode(‘[av_submenu menu="781" position="center" color="main_color" sticky="aviaTBsticky" custom_class=""]‘); ?>
to my custom content-single-product-food.php
<?php
if ( ! defined( ‘ABSPATH’ ) ) exit; // Exit if accessed directly
?>
<?php echo do_shortcode(‘[av_submenu menu="781" position="center" color="main_color" sticky="aviaTBsticky" custom_class=""]‘); ?>
<?php
/**
* woocommerce_before_single_product hook
*
* @hooked wc_print_notices – 10
*/
do_action( ‘woocommerce_before_single_product’ );
if ( post_password_required() ) {
echo get_the_password_form();
return;
}
?>
Should I add something to CLEAR it so it does not affect the styling/layout (4 columns become 3) on single product?
Hi!
1. Open up /enfold/includes/loop-author.php and around line 67 you should see this.
<header class="entry-content-header">
Add this above it.
<?php echo "<div class='blog-meta'>";
$blog_meta_output = "";
$icon = '<span class="iconfont" '.av_icon_string($post_format).'></span>';
if(strpos($blog_style, 'multi') !== false)
{
$gravatar = "";
$link = get_post_format_link($post_format);
if($post_format == 'standard')
{
$author_name = apply_filters('avf_author_name', get_the_author_meta('display_name', $post->post_author), $post->post_author);
$author_email = apply_filters('avf_author_email', get_the_author_meta('email', $post->post_author), $post->post_author);
$gravatar_alt = esc_html($author_name);
$gravatar = get_avatar($author_email, '81', "blank", $gravatar_alt);
$link = get_author_posts_url($post->post_author);
}
$blog_meta_output = "<a href='{$link}' class='post-author-format-type'><span class='rounded-container'>".$gravatar.$icon."</span></a>";
}
else if(strpos($blog_style, 'small') !== false)
{
$blog_meta_output = "<a href='{$link}' class='small-preview' title='{$featured_img_desc}'>".$slider.$icon."</a>";
}
echo apply_filters('avf_loop_index_blog_meta', $blog_meta_output);
echo "</div>";
?>
2. Add this to your custom CSS.
.post-author-format-type.blog-meta * {
height: 120px;
position: relative;
width: 120px;
}
Regards,
Elliott
Thanks Ismael, hmmm seems to be breaking our website :( gives the following error: “Parse error: syntax error, unexpected ‘/’ in /nfs/c09/h04/mnt/188733/domains/aquaquestonline.com/html/wp-content/themes/enfold/functions.php on line 3740”
Thanks,
Gear Out Here
-
This reply was modified 11 years, 1 month ago by
gearouthere.
Into header.php I find this:
<?php
/*
* outputs a rel=follow or nofollow tag to circumvent google duplicate content for archives
* located in framework/php/function-set-avia-frontend.php
*/
if (function_exists('avia_set_follow')) { echo avia_set_follow(); }
/*
* outputs a favicon if defined
*/
if (function_exists('avia_favicon')) { echo avia_favicon(avia_get_option('favicon')); }
?>
As for my other sites usually add this code to get the full support favicon on all devices:
<link rel="shortcut icon" href="http://********.com/favicon.ico" type="image/x-icon">
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16">
<link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="/favicon-48x48.png" sizes="48x48">
<link rel="icon" type="image/png" href="/favicon-64x64.png" sizes="64x64">
<link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96">
<link rel="icon" type="image/png" href="/favicon-128x128.png" sizes="128x128">
<link rel="icon" type="image/png" href="/android-chrome-192x192.png" sizes="192x192">
<link rel="icon" type="image/png" href="/favicon-196x196.png" sizes="196x196">
<link rel="icon" type="image/png" href="/favicon-228x228.png" sizes="228x228">
<link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57x57.png" />
<link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-72x72.png" />
<link rel="apple-touch-icon" sizes="76x76" href="/apple-touch-icon-76x76.png" />
<link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114x114.png" />
<link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon-120x120.png" />
<link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144x144.png" />
<link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon-152x152.png" />
<link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon-180x180.png" />
Can I put my code or this would be useless?
If the answer is yes, after which line to put it?
-
This topic was modified 11 years, 1 month ago by
lock255.
Hi!
@iceberg_che Please try to increase following
php_value suhosin.post.max_vars 8000
php_value suhosin.request.max_vars 8000
Reference: http://www.wpbeginner.com/wp-tutorials/how-to-fix-the-custom-menu-items-limit-in-wordpress/
@rechard777 I have tried to add “サンプルページ” to your menu and it showed up fine. Please make sure to save (メニューを保存) your menu after making changes
Best regards,
Yigit
I just installed Enfold to use on a new site. My hosting company tells me it sees this error message:
From public_html/error_log:
[07-Mar-2015 20:31:39 UTC] PHP Warning: mysql_real_escape_string(): Access denied for user ‘root’@’localhost’ (using password: NO) in /home/hesletho/public_html/wp-content/themes/enfold/framework/php/class-framework-widgets.php on line 1322
[07-Mar-2015 20:31:39 UTC] PHP Warning: mysql_real_escape_string(): A link to the server could not be established in /home/hesletho/public_html/wp-content/themes/enfold/framework/php/class-framework-widgets.php on line 1322
What causes this and will it be corrected?
Thanks
Hi,
I have a client who snaps a lot of pictures using her phone, therefore, most of the blog posts featured images are of vertical orientation. Is there a way that can somehow allow them to fit in nicely in post view? I managed to tweak the blog view, but the post featured image is just too long, here’s an example: Click Here
My question is what is the best way to deal with such images? Really need help with this guys as I have hit a wall trying different solutions.
Hey Jean!
Enfold verwendet die Standart WordPress Funktion beim Kontaktformular. Wenn du dafür Anpassungen vornehmen möchtest, müsste dies in Enfold->Framework->class-form-generator.php geschehen. Informationen zu den Parametern findest du hier:
http://codex.wordpress.org/Function_Reference/wp_mail
Ich würde dir allerdings ein Plugin wie diese hier empfehlen:
https://wordpress.org/plugins/contact-form-7/
http://www.gravityforms.com/
Bei solchen Plugins findest du viele weitere Funktionen, die über das gewöhnliche von WordPress hinausgehen. Ich bin sicher du findest dort auch das, wonach du suchst.
Gruß,
Andy
Hi Yigit,
Thanks for your reply.
I did what you suggested, copied the
global $avia_config;
after the PHP tag in the child theme’s function.php and also added this code line below with my desired resolution (1920 x 760)
$avia_config[‘imgSize’][‘featured_large’] = array(‘width’=>1920, ‘height’=>760 ); // images for fullsize pages and fullsize slider
Then regenerated thumbnails with the named plugin, but my new resolution “1920 x 760” does not appear in the list of the easy slider image size drop-down menu.
It does appear although if I amend the functions.php in the original theme, but that’s what I want to avoid doing and keep track of the changes in my child theme instead of amending the parent theme, right?
If you have another idea or if I missed something, please let me know.
I can also give you temp access to my website to have a look if that’s quicker and easier for you guys.
Thanks a lot in advance.
Best regards,
Ben
-
This reply was modified 11 years, 1 month ago by
Benny861028.