Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
ibasher
tagDiv Member

Solved. The problem is with Polylang, just recreated language and it’s ok

ibasher
tagDiv Member

Hello Vlad.
I did update everything to V10.4 prior to this issue, so the problem is still there.
So I just renamed class=”td-subcat-filter” and wrote my own CSS for it. A bit hacky, but it works.

  • This reply was modified 5 years by ibasher.
ibasher
tagDiv Member

I am really sorry, no offense, but you are not going to tell me what theme files I need to edit?
That image size API is just useless then if I can’t make custom sizes and use them 🙁

  • This reply was modified 5 years by ibasher.
  • This reply was modified 5 years by ibasher.
ibasher
tagDiv Member

Strange, but when I rename class=”td-subcat-filter” everything works… I’m confused %)

ibasher
tagDiv Member

Found line that breaks the menu in my custom td_block_template_1.php:
https://www.screenpresso.com/=hu8V

The function works OK on every single block, but it is the menu that broken when I try to return something but a simple string

  • This reply was modified 5 years by ibasher.
  • This reply was modified 5 years by ibasher.
ibasher
tagDiv Member

This line in my td_api_plugin is the issue
td_api_block_template::update_key('td_block_template_1', 'file', $this->plugin_path . '/includes/block_templates/td_block_template_1.php');
Please tell me how td_block_template_1 is connected to mobile menu display?
Website is new.agronom.com.ua

ibasher
tagDiv Member

1) I’ve add new image size with td_api_thumb::add
2) It is present and active here https://www.screencast.com/t/KuykwII3XgWB
3) It is NOT present here https://www.screencast.com/t/FyxP0oZdLL

ibasher
tagDiv Member

Well, that was totally possible by using td_api_plugin. I just copied original file, mage some tweaks and rerouted system to a new file.
`
class td_api_plugin
{
var $plugin_url = '';
var $plugin_path = '';
function __construct()
{
$this->plugin_url = plugins_url('', __FILE__); // path used for elements like images, css, etc which are available on end user
$this->plugin_path = dirname(__FILE__); // used for internal (server side) files
add_action('td_global_after', array($this, 'hook_td_global_after')); // hook used to add or modify items via Api
}
function hook_td_global_after()
{
td_api_block_template::update_key('td_block_template_1', 'file', $this->plugin_path . '/includes/block_templates/td_block_template_1.php');
}
}
new td_api_plugin();
`

ibasher
tagDiv Member

And how about PHP approach? Some hook, maybe?

ibasher
tagDiv Member

Figured it out. Just needed to use correct selectors.
.tdm-social-item:hover .td-icon-telegram {
color: #0088CC !important;
}
.tdm-social-item:hover .td-icon-facebook {
color: #4267B2 !important;
}

ibasher
tagDiv Member

Worked like a charm, Thank you!

Viewing 11 posts - 1 through 11 (of 11 total)