katasun
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Override latest-posts.phpThank you very much for the answer, this is a good solution. But i did not found the right command to exclude the function only to the headlines to the gutenberg blocks.
But I have a solution that works only with css from another forum:
you can use the block class and define a css rule only for the headlines within blocks
.wp-block-latest-posts li > a { color: red; }
in the block setting there is a form field on the bottom where you can add you own classes for this type of block.
.verynew li > a { font-weight: bold; }`
Thanks a lot
katasunForum: Plugins
In reply to: [WooCommerce] Collecting customer information before sale?Thank you for your answer.
What I need is some extra Customer information related to a product. It looks like this is not easy. I like to have the relation to the product, because a customer is looking for a specific spare part and to the customer.
An example.
I offer some tires. I set them up in woocommerce, product type abc. A customer is calling me on the phone, but he is not sure if the tire will fit and I ask him to send a photo with the production number. I want this photo to be related to the customer. I want to be able to answer the customer using his account data and I need a relation to the product, so knew what the customer asked for.
After I checked the data on the photo, I can confirm the customer that the tires will fit and the customer can continue the order process.
I have the same scenario with companies that do 3d scanning. Before you can confirm a job you need some information in advance.
What will be the best way to solve this. Some extra fields for the product doesn’t seem to be enough, because my information is related to a customer too.
Maybe an “intermediate” step of the order process. Like “preorder” that can only be continued after a confirmation of the shop owner? Then I have the related information I would need the product and the customer.
best regards
katasun
Forum: Plugins
In reply to: [Grayscale Images] Disable for some images, like the logo or link imagesNauris Kolāts
Hello Katasun,
You can use CSS and create a class for your logo and after that add this to your .css file
.yourLogoClass{
filter: none; /* Applies to FF + IE */
-webkit-filter: grayscale(0);
}Ok, if you like to use WP Awesome FAQ Plugin and the dashicons and wp-minify and wp-total cache, please try to to enqueue the dashicons in your functions.php explicit.
Like this:
add_action( ‘wp_enqueue_scripts’, ‘jk_load_dashicons’ );
function jk_load_dashicons() {
wp_enqueue_style( ‘dashicons’ );
}( the script is stolen from this guy: http://jameskoster.co.uk/work/using-wordpress-3-8s-dashicons-theme-plugin/
and it works for me. Maybe it solve the issue for someone else.
Regards Katasun
Sorry wrong link broken link
Forum: Plugins
In reply to: [URL Based Login] Username doesn't existsHi, I have exactly the same problem. And yes I am logged in as an admin.
Regards
katasun
Forum: Plugins
In reply to: [Ceceppa Multilingua] Get localeThanks a lot I copied this from your code which is working:
$current = cml_get_current_language();
if($current->cml_language_slug == ‘en’){
echo $slide[‘description’];
}
if I only want the id it could be done like this?$current = cml_get_current_language();
if($current->cml_language_id == ‘2’){
echo $slide[‘description’];
}Thanks katasun
Forum: Plugins
In reply to: [Ceceppa Multilingua] Get localeHallo could you please give one short example how to call the current language, maybe by id or by name.
I like to create a loop and use the language id as a condition, but until now, its always emtpy?
Thanks katasun
Forum: Themes and Templates
In reply to: Theme [medicine free]This is the array:
$settingOptions[‘slider’] = array(
array(
‘name’=>’slides’,
‘type’=>’slides’,
‘caption’=>’Slides’,
‘description’=>”
),Forum: Plugins
In reply to: [VoucherPress] Languages translationAre you although looking for a german translation? In january I need a version with german text and I have to go through the code anyway.
katasun