Digital experiences for all disciplines
Forum Replies Created
-
Posted in: We hit Power Elite.
-
January 20, 2016 at 10:39 pm in reply to: Custom color background header on scroll goes white #242377
Thanks Kyle, that worked!
January 19, 2016 at 11:03 pm in reply to: Custom color background header on scroll goes white #242098I installed Better WordPress Minify 1.3.3 to see if this reduces the amount of code.
Thanks for your suggestion Mohammad, I tried it and works well except for products.
Thanks,
This reply has been marked as private.Thanks for your time in replying Mohammad but as you can see in the screenshot the share buttons are not there.
I’ve cleared cache and tried with 4 different browsers.https://www.dropbox.com/s/92o4e0h592e59zm/Screenshot%202015-09-29%2014.08.12.png?dl=0
I don’t see the social shares on any of the pages, this is just one example: http://luxtravels.com.ar/consultas/
Thanks,
Hey guys, this is not working. I don’t know what you did but it didn’t work.
This reply has been marked as private.Thanks Rui, now I just see a gray short line but no share links. Also in the source code I see an empty DIV as you can see in the attachment.
Attachments:
You must be logged in to view attached files.Also line 120?
When I do that I get a white screen and no error messages or anything.
Also attached I send you an image of some glyphs in red that I see when I add the code.This is how the code for the functions.php looks now:
<?php /* * * Atelier Functions - Child Theme * ------------------------------------------------ * These functions will override the parent theme * functions. We have provided some examples below. * * */ /* LOAD PARENT THEME STYLES ================================================== */ function atelier_child_enqueue_styles() { wp_enqueue_style( 'atelier-parent-style', get_template_directory_uri() . '/style.css' ); } add_action( 'wp_enqueue_scripts', 'atelier_child_enqueue_styles' ); /* LOAD THEME LANGUAGE ================================================== */ /* * You can uncomment the line below to include your own translations * into your child theme, simply create a "language" folder and add your po/mo files */ // load_theme_textdomain('swiftframework', get_stylesheet_directory().'/language'); /* REMOVE PAGE BUILDER ASSETS ================================================== */ /* * You can uncomment the line below to remove selected assets from the page builder */ // function spb_remove_assets( $pb_assets ) { // unset($pb_assets['parallax']); // return $pb_assets; // } // add_filter( 'spb_assets_filter', 'spb_remove_assets' ); /* ADD/EDIT PAGE BUILDER TEMPLATES ================================================== */ function custom_prebuilt_templates($prebuilt_templates) { /* * You can uncomment the lines below to add custom templates */ // $prebuilt_templates["custom"] = array( // 'id' => "custom", // 'name' => 'Custom', // 'code' => 'your-code-here' // ); /* * You can uncomment the lines below to remove default templates */ // unset($prebuilt_templates['home-1']); // unset($prebuilt_templates['home-2']); // return templates array return $prebuilt_templates; } //add_filter( 'spb_prebuilt_templates', 'custom_prebuilt_templates' ); // function custom_post_thumb_image($thumb_img_url) { // // if ($thumb_img_url == "") { // global $post; // ob_start(); // ob_end_clean(); // $output = preg_match_all('/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $post->post_content, $matches); // if (!empty($matches) && isset($matches[1][0])) { // $thumb_img_url = $matches[1][0]; // } // } // // return $thumb_img_url; // } // add_filter( 'sf_post_thumb_image_url', 'custom_post_thumb_image' ); // function dynamic_section( $sections ) { // //$sections = array(); // $sections[] = array( // 'title' => __( 'Section via hook', 'redux-framework-demo' ), // 'desc' => __( '<p class="description">This is a section created by adding a filter to the sections array. Can be used by child themes to add/remove sections from the options.</p>', 'redux-framework-demo' ), // 'icon' => 'el-icon-paper-clip', // // Leave this as a blank section, no options just some intro text set above. // 'fields' => array() // ); // return $sections; // } // // function custom_style_sheet() { // echo '<link rel="stylesheet" href="'.get_stylesheet_directory_uri() . '/test.css'.'" type="text/css" media="all" />'; // } // add_action('wp_head', 'custom_style_sheet', 100); // function custom_wishlist_icon() { // return '<i class="fa-heart"></i>'; // } // add_filter('sf_wishlist_icon', 'custom_wishlist_icon', 100); // add_filter('sf_add_to_wishlist_icon', 'custom_wishlist_icon', 100); // add_filter('sf_wishlist_menu_icon', 'custom_wishlist_icon', 100); <?php if ( ! function_exists( 'sf_page_share' ) ) { function sf_page_share() { $image = wp_get_attachment_url( get_post_thumbnail_id() ); $share_text = apply_filters( 'sf_post_share_text', __( "Share this", "swiftframework" ) ); ?> <div class="article-divider"></div> <div class="article-share" data-buttontext="<?php echo esc_attr($share_text); ?>" data-image="<?php echo esc_url($image); ?>"></div> <?php } } add_action( 'sf_page_content_end', 'sf_page_share', 30 ); ?>
Attachments:
You must be logged in to view attached files.My question is if this should in a specific line, because I did that and nothing happened, actually the main menu is gone now.
Is there a specific place where to add that code?
September 9, 2015 at 2:41 am in reply to: File Permission issues after update to v1.61 and theme to 1.71 #211519It works now! Thanks Ed!
September 9, 2015 at 2:41 am in reply to: Go Pricing Tables will not update from 3.0.2 to 3.0.4, deactivates #211518I have the same issue! Is there a solution?
-
Posted in: We hit Power Elite.