Getting some errors

Posted in: Newspaper
Post count: 12

Hi,

In certain pages i get error message. For example

https://www.advisorleap.com/?s=social+security

it reads rk_used_on_page : a component with the ID: thumbnail is not set.
/home2/business/public_html/advisorleap.com/wp-content/themes/Newspaper/includes/wp_booster/td_api.php

Please find the screenshot here ScreenShot of the Error

Please help me fix this

Post count: 12
Post count: 6535

Hi

You need to edit td_config.php and add this code:

td_api_thumb::add('thumbnail',
array(
'name' => 'thumbnail',
'width' => 150,
'height' => 150,
'crop' => array('center', 'top'),
'post_format_icon_size' => 'normal',
'used_on' => array(
'Big grid 1, 3, 7 - small image'
)
)
);

It should look like so: http://screencast.com/t/RTkWKH6me
Basically you are just adding another thumbnail to the list in between the existing ones. Then the error will not display anymore.

Thanks!

Post count: 12

Tried that.. it is throwing up some other error when i update the php file as shown in the screencast.

Parse error: in /home2/business/public_html/advisorleap.com/wp-content/themes/Newspaper/includes/td_config.php on line 1108

Please help

Post count: 22421

Hello,
I tested this again and it works fine on my end. Please try your code again and add it to the bottom of the thumbnail list after the last ‘;’ http://screencast.com/t/61cRBdNzO4 If you place it in the wrong place it could break other parts oif the code.
Let us know how it goes.
Thank you!

Post count: 12

Hi,

I tried it in the exact place as you showed in the screencast..

Can you please check it?

http://www.advisorleap.com/wp-admin

Post count: 12

my website is now hacked.. whats happening???

Post count: 1341

whats happening???

!!!

DON’T PUBLISH YOUR LOGIN AND PASSWORD HERE!

That’s why you were hacked – someone used these data.

Post count: 12

I thought this is a ticketing system and is private…. mistake of my life.. never faced this issue… lost two weeks of hard work in a jiffy..

Post count: 22421

Hello,

This is a public forum and other members of the forum can see what you post here. I removed your login information from the post. Sorry you got hacked, it seams people do not have better things to do.
Please send an email at contact@tagdiv.com and provide wp-admin and ftp access so we can take a look and see why the code does not apply.

Thank you!

Post count: 12

Hi,

When I emailed you first, you asked me to raise a support ticket here.

I managed to get back the contents using bing and google webcache..

However I am still facing a lot of design issues. The woocommerce pages are screwed up, eg: http://www.advisorleap.com/sho

Even the single product page is not well formated.. Can you give me some custom code to fix this issue and make the shop look streamlined?

Best Regards

Post count: 22421

Hello,

I have checked your product page but found nothing wrong with the formatting: http://screencast.com/t/aiJoWJVu6R
Please provide more details so we can understand how to help you.

Thank you!

Post count: 12

Hi,

1) There is no title for page.

2) If you check the individual products, then the title of the product is not formatted well.

Best Regards

Post count: 22421

Hello,

1) The woocommerce shop page has no title by default. (If you use the default shop page)
You can create your own shop page in visual composer and add elements to it and set a title and then set it as your shop page from the woocommerce plugin: http://screencast.com/t/XfOLJ9hfdMYQ
2) I cannot know for sure how you want the formating to be on your product page.
You can use css to style the titles:
.single-product .product_title {
font-size: 14px!important;
line-height: 20px!important;
}

You can use another css code for the prices:
.single-product .product_title {
font-size: 14px!important;
line-height: 20px!important;
}
.single-product .product .summary .price {
font-size: 14px!important;
}

I hope this helps.

Thank you!

  • This reply was modified 10 years by Bogdan B..
Post count: 12

Thank you so much.. I could fix those issues

1) Is it possible to cotrol the maximum number of characters in the product title in the shop page (not the individual product page). If so, how to go about it?

2) I would like to display 12 products in the shop page instead of the default 4, how can I do that?

Best Regards

Post count: 22421

Hello,

1) Unfortunately the product titles are not controlled by the theme but rather the woocommerce plugin.
you can maybe follow this topic: https://wordpress.org/support/topic/limit-product-titles-on-shop-page
or this css method: https://wordpress.org/support/topic/how-to-limi-product-title-length
2) Also the product page is not controlled by the theme and you can maybe use this plugin to do it: https://wordpress.org/plugins/woocommerce-products-per-page/ or maybe WooCommerce Product Archive Customiser

Thank you!

Viewing 16 posts - 1 through 16 (of 16 total)
The forum ‘Newspaper’ is closed to new topics and replies.