Digital experiences for all disciplines
Forum Replies Created
-
Posted in: We hit Power Elite.
-
Okay so I examined couple of image download websites…
I would like to have a product gallery that respects image aspect ratio like this URL:
or this
https://www.pexels.com/search/beach/
Any practical method you know?
Are you basically saying that I need to delete all pictures on the website and re-upload them after resizing the original images with a resize program such as pixlr express by locking aspect ratio to 4:3 ?
Do you know any program that automatically bulk resizes to desired aspect ratio?
Thank you…By far,
This is the best theme support I’ve ever seen in my entire life!
Thank you for making things possible for people like me!Have a great one.
🙁
I did everything you instructed sir but still can’t see the result I want
Attachments:
You must be logged in to view attached files.August 11, 2016 at 10:29 am in reply to: How To Edit Meta Description Of General Product Page (/shop) #286959Wow sorry for this post, the plugin was not active for some reason…
Thank you David.This reply has been marked as private.Yes sir I did. I translated woocommerce with PoEdit and upload the translation to the ftp folder…
Update: I tried it several times in several versions and pasted in several different sections withing the child functions.php but it is not working
AND the correct translation that I want to work is:function sf_text_strings( $translated_text, $text, $domain ) { switch ( $translated_text ) { case 'Choose a Beden' : $translated_text = __( 'Beden Seçiniz', $domain );//just change it break; } return $translated_text; } add_filter( 'gettext', 'sf_text_strings', 20, 3 );
Life is painful when codes don’t work 🙁
Thank youYou are a star thank you for the reply
This is the code I want to insert in the child theme functions.phpfunction sf_text_strings( $translated_text, $text, $domain ) { switch ( $translated_text ) { case 'Choose an option' : $translated_text = __( 'Beden Seçiniz', $domain );//just change it break; } return $translated_text; } add_filter( 'gettext', 'sf_text_strings', 20, 3 );
This is the child theme functions.php but I don’t know which part should I insert the code… Sorry for being a noob 🙂
Can you please insert it for me so I don’t make any mistakes?
Thanks<?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);
Well, the picture was white and text editor background was white too so that was the case…
Sorry for the trouble 🙂
A+
Hello,
I’ve updated every plugin + theme however I cannot find the editable element in the front page.
As I remember it was inside an element…Thanks for the assistance
kind regards
Hello Kyle,
I figured out that Atelier template is not compatible with Cloudflare’s Mirage & Rocket Loader features. Once I de-activated these settings the images appeared perfect however page sizes increased. I will test railgun feature on the following days. Thank you for your response !hello ? 🙁
The slider is web product light from free slider exchange. I downloaded the zip folder imported it and customized it to my needs. WEB PRODUCT LIGHT I did not changed any settings other than main theme options such as disabling top bar header
-
Posted in: We hit Power Elite.