Search Results for 'block'

Results from the Forum
CtrlP Press
Participant
#0

Howdy

Just uploaded the most recent update (by FTP) and now getting a string of wp_booster errors:

wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_1 is not set.
/home/ctrlpp5/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_api.php

(all the blocks… ending with 16 below)

wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_16 is not set.
/home/ctrlpp5/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_api.php

wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_popular_categories is not set.
/home/ctrlpp5/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_api.php

wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_slide is not set.
/home/ctrlpp5/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_api.php

wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_ad_box is not set.
/home/ctrlpp5/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_api.php

wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_text_with_title is not set.
/home/ctrlpp5/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_api.php

wp booster error:
td_api_base::mark_used_on_page : a component with the ID: td_block_authors is not set.
/home/ctrlpp5/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_api.php

From searching prior comments, this looks like it might b a category template that got overwritten (yet I’m using a child theme)… but I can’t access my theme panel at all. Well its kind of there but missing menu and content.

Instead I have this in the menu panel:
Warning: Invalid argument supplied for foreach() in /home/ctrlpp5/public_html/wp-content/themes/Newsmag/includes/wp_booster/wp-admin/panel/panel_core/td_panel_core.php on line 62

and this in the content panel:
Warning: Invalid argument supplied for foreach() in /home/ctrlpp5/public_html/wp-content/themes/Newsmag/includes/wp_booster/wp-admin/panel/panel_core/td_panel_core.php on line 119

I have cleared the caches multiple times and deactivated all the plug-ins and cleared again, but its having no effect.

These errors, of course, are writing to the site pages too, as well as page specific errors.

Andrei L.
tagDiv Member

Hi

To add trending now block on search page you need to edit search.php file and insert block’s shortcode like here: http://screencast.com/t/ls8yiAI9InRK

Also I’ve used this css to add a margin between the menu and the block:
http://screencast.com/t/SKubTMMSS

.search .td-header-menu-wrap-full{
height: 48px;
margin-bottom: 20px;
}

Hope this helps.
Thanks!

Andrei L.
tagDiv Member

Hi

I am not sure why this happens as I’ve duplicated the situation on my side and didn’t got any issue. Try to deactivate all plugins except Visual Composer, clear all caches and test again. Also Note that that you need to have at least two posts in the category the you select in slider block settings. If you have only one post in the selected category the slide block won’t appear on page.

Thanks!

Andrei L.
tagDiv Member

Hi

I’ve checked your site ans theme’s font files are blocked by a rule from your .htaccess file: http://screencast.com/t/4MSjjamuqBtR Check each part of your code and especially the last part, clear the cache memory then test again.

Thanks!

Bogdan B.
tagDiv Staff

Hi,
Every block in particular is an extended class of td_block.php. That is the file where you will find the render function: http://screencast.com/t/stAjkHJMUr This function will process the information stored in td_date source:
http://screencast.com/t/0RfkytDf
Thank you!

Andrei L.
tagDiv Member

Hi

Thanks @mf for your help.

@ajblock7
maek sure you set the link on the omage to image’s url, as the modal image won’t work with external links.

Thanks!

Andrei L.
tagDiv Member

Hi

Tor remove the link from Related Article button edit td_block_related_posts.php file and replace the indicated line of code with this code: http://screencast.com/t/VzTcaSSrQmhttp://pastebin.com/sXaMcgtP

Thanks!

josflachs
Participant
#0

All of a sudden visual composer doesn’t work anymore. Only as backend editor. In the classic mode (do I say that correct? Don’t I switch the two around) I see a block with Visual Composer, but the actual page content itself no more. I have deactivated all plugins and cleared the browser cache. Then checked again. Doesn’t help me.

The site is http://ollekebolleke.info. If you need login credentials, let me know.

miladinowski
Participant
#0

Hello, I have installed the healthy theme on my website and I don’t know how to change these names of the ‘block titles’ (are they called block titles)?

For example.. I deleted all the categories that were installed with the theme and they still are on my website titles… please check and tell me how do I change them? (Popular, Must Read, Food, Fitness, Health, Science, Latest Posts)…

My website: http://www.lifehealthandfood.com

Thank you!

willysawa
Participant
#0

PLease how do i hide the author and date when using [tagDiv]Block 9 on a widget

dev1
Participant
#0

Hello,

I disabled the tagDiv Social Counter plugin. When I did this, the following code appeared on my website:

“[td_block_social_counter facebook=”tagdiv” twitter=”envato” youtube=”envato”]”

How do I remove it?

Thanks!

kognitoweb
Participant
#0

Hi,

I generally want to show the Category Tags in blocks, but dont want them to have Hyperlinks, just plain text.
Where can I remove the linking of the category tags? Thanks a lot!

Andrei L.
tagDiv Member

Hi

The theme it’s tested and works fine on Chrome. For Internet explorer try to use this css in theme panel > custom code > custom css:

.td-paragraph-padding-2{
display: block;
}

Thanks!

rgmolaro
tagDiv Member

Hi, Here are the screenshots:

1) When I set the two slider Blocks in home page that show all categories, its works fine! Screenshot
2) But when I set that show only one category, the slider dissapeared. Screenshot
3) The filtered category isn´t empty. Screenshot

I can´t show the site url, because isn´t published yet. If you give me an email I can send you the access.
The visual composer its actualiced.

Regards

dragon
Participant
#0

Is there any possibility to add advertisement after every X posts between the items in category archive pages and also for block modules?

Phonetic
tagDiv Member

Hi Catalin.

I’m a developer myself. Can you point me to which part of the framework I need to take a look at?

The specific function is in td_ajax.php:case 'td_category_ids_filter': // by category - the user selected a category from the drop down. if it's empty, we show the default block atts
if (!empty($ajax_parameters['td_filter_value'])) {
$ajax_parameters['td_atts']['category_ids'] = $ajax_parameters['td_filter_value'];
unset($ajax_parameters['td_atts']['category_id']);
}
break;

  • This reply was modified 10 years by Phonetic.
  • This reply was modified 10 years by Phonetic.
mf
tagDiv Member

Have a nice day!

I saw the detail log:
Catchable fatal error: Object of class stdClass could not be converted to string

array(23) { [“custom_title”]=> string(11) “Block title” [“custom_url”]=> string(0) “” [“header_text_color”]=> string(1) “#” [“header_color”]=> string(1) “#” [“border_top”]=> string(0) “” [“color_preset”]=> string(0) “” [“post_ids”]=> string(0) “” [“category_id”]=> string(0) “” [“category_ids”]=> string(0) “” [“tag_slug”]=> string(0) “” [“autors_id”]=> string(0) “” [“installed_post_types”]=> string(0) “” [“sort”]=> string(0) “” [“limit”]=> string(1) “5” [“offset”]=> string(0) “” [“td_ajax_filter_type”]=> string(0) “” [“td_ajax_filter_ids”]=> string(0) “” [“td_filter_default_txt”]=> string(3) “All” [“td_ajax_preloading”]=> string(0) “” [“ajax_pagination”]=> string(0) “” [“ajax_pagination_infinite_stop”]=> string(0) “” [“wpfront-user-role-editor-widget-permissions-data”]=> object(stdClass)#547 (1) { [“type”]=> int(1) } [“class”]=> string(15) “td_block_widget” }

WPFront User Role Editor plugin added key wpfront-user-role-editor-widget-permissions-data to block. I don’t know why and I removed that plugin.
Now it works perfectly.

Thank you!

Catalin
tagDiv Staff

Hello EDMSU,

Unfortunately, this type of block does not have such an option to change the sorting only for subcategories, sorry! Please notice that to accomplish your request, it needed some additional customizations through code that involve custom work. If you want to develop the structure of this block, you have to alter the code from core file, like this -> http://screencast.com/t/oYTuaoUDfD Please notice that is not a simple task and if you are not aware of the steps in this regard, please consider hiring a freelancer/developer to help you because we cannot provide customization services at the moment, sorry!

Thank you for your understanding!

ioeaia
Participant
#0

Hi,

I guess I read somewhere over the forum that it was possible to change the category tag background on blocks, for it to match the category tag color on posts/blocks title (as now it is black, in a general way) but, I can’t find the thread where I saw that and how to achieve it.

Anyway, how could I modify the code to achieve that, please?

Just as a suggestion:-)): would it be possible to include in a future version/update that option when creating/setting a block (with a selectable option or through a class code)?

Thank you.

Catalin
tagDiv Staff

Hello dennisjpitocco,

Please take a look over the below explanation and try to understand a bit how it work the thumbs in the theme. Please check here ->>
Our theme uses the system of cropping from center to top. The theme uses thumbs to reduce the page size and speed up page loading time. From each image uploaded are generated thumbs for each thumb size used by the theme. Basically, when a post it’s displayed on the page in a block, the featured image displayed is not the one which you uploaded in the media file, it’s a thumb cropped from the original image at the precise dimension. To change the picture orientation most likely you will need a different cropping system. We use a WordPress function – add_image_size() – you can read about it here – https://codex.wordpress.org/Function_Reference/add_image_size – and here – http://www.davidtan.org/wordpress-hard-crop-vs-soft-crop-difference-comparison-example/
Our theme crop (cut) thumbnails in some cases to avoid creating a lot of thumbnails in order to reduce to load more spaces on the server.
If you don’t have the possibility to upload large images you could use a combination of plugins to upscale the thumbs – Thumbnail Upscale and Force Regenerate. For more information about these kinds of plugins, please consult their documentation here -> https://wordpress.org/plugins/thumbnail-upscale/ -> https://wordpress.org/plugins/regenerate-thumbnails/ Also, please ensure that the functionalities of these plugins are not affected by the other untested plugins that could create interference through the theme. Please notice that these types of plugins are not tested with our theme and we cannot provide support for the theme. We recommend them because a lot of our customer uses and they were satisfied to their functionality.

Thank you for your understanding!

Kassidi
Participant
#0

Hi all,

I have recently installed WP-Postratings plugin but the Rating system is not appearing in posts/pages..

I have checked the installation guide where the editor wrote the following :

Find <?php while (have_posts()) : the_post(); ?>
Add Anywhere Below It (The Place You Want The Ratings To Show): <?php if(function_exists(‘the_ratings’)) { the_ratings(); } ?>

But I can not find this line.
Could you please support ?
thanks

Phonetic
Participant
#0

Currently, adding an Ajax dropdown menu to a block based on categories will not take into account the main block category filter. An example:


Cars
- BMW
- Audi

Colors:
- Red
- Blue

Block Category filter: "BMW"

Ajax filter: "filter by categories"
Ajax dropdown: "show the following IDs": Red, Blue

Now selecting the “Red”, “Blue” from the Block Ajax filter, will also show every “Red” and “Blue” Audi . Is there not a way to apply some needed logic to the functions or make the ajax dropdown respect the block category filter:

Show ajax category where Colors “Red” and “Blue” AND Cars = “BMW”.

Without the logic I’ll have to triple categories and even have multiple sub categories with the same name (not ID).

Can you plese offer a solution or at least point to the specific functions (either the framework og the jquery scripts) needed to make the modifications?

EDMSU
tagDiv Member

I have this block:

But instead of “Popular Categories” I need to be displayed subcategories my category “DJ”

Kundurnews
Participant
#0

Hi, Can you help me pls
My News Paper Theme, when i need to add new post, at the bottom ‘add text block‘ on visual composer are not working.
thanks

dennisjpitocco
Participant
#0

Please see our Home Page here: http://bizcatalyst360.com/

Very often when a post appears within our “Featured” post area (TWO large blocks below the Main Menu), the image doesnt’ fill the entire block. Is there an adjustment in the Theme Panel for this or is there a minimum featured image size that we must use?

Viewing 25 results - 30,726 through 30,750 (of 39,816 total)