Search Results for 'block'

Results from the Forum
artamax
tagDiv Member

HI, i did not solve it really, just rudely overwriten td_block_layout.php to print span6 instead of span4
this is not a solution, on the next theme update bug will probably return

//span 4
function open4() {
if ($this->span4_is_open) {
//open row only onece
return;
}
$this->span4_is_open = true;
return “\n\n\t” . ‘<div class=”span6″>’ . “\n”;
}

Alin [tagDiv]
tagDiv Staff

Hi,

If you want to use a general css code for all blocks title please try this custom css in Theme Panel > Custom Css: http://screencast.com/t/lQcssd2Kh

.wpb_widgetised_column .block-title a,.wpb_widgetised_column .block-title span{
background-color: #222222;
}
.wpb_widgetised_column .block-title{
border-color: #222222;
}

Also for some blocks this can be changed from it settings for example Social Counter: http://screencast.com/t/Zg8HaGZ2wWf

Hope this helps!

arsonists
tagDiv Member

Good Morning,

Chris I understand perfectly, but then what is the purpose of the new NewsMag ?.

If a “newspaper” will put the functions of “newsmag” the only difference between the appearance of the menu will and little else.

Glad you tell me that in a month will be released version 5 with improvements, we see that brings. For example one thing that I love about NewsMag is the block “News Ticker” and sets the sidebar.

a greeting

Alin [tagDiv]
tagDiv Staff

Hi,

Like Lucian said with Visual Composer you can add some Ad Box block to display some custom ads for example and add an extraclass to the column: http://screencast.com/t/RkzK2wQe After that you can customize it with some css code: http://screencast.com/t/csVA936sL

Hope this helps!

sbenson2129
Participant
#0

My site is loading very slowly and sending out a bunch of 504 errors. Got this from my hosting company:

Just a quick update. I ran a search through your logs the top ten pages on which 504 errors were encountered. The results are below:

1009 higherperspectives.com POST /wp-admin/admin-ajax.php HTTP/1.1
625 higherperspectives.com GET /fall-asleep-fast/ HTTP/1.1
325 higherperspective.com GET /?stylesheet=custom&ver=4.0.1 HTTP/1.1
282 higherperspectives.com GET /being-alone/ HTTP/1.1
209 higherperspectives.com GET /gut-feelings/ HTTP/1.1
139 higherperspectives.com GET /mysterious-fireballs/ HTTP/1.1
127 higherperspectives.com GET /monk/ HTTP/1.1
119 higherperspective.com GET /2015/02/rituals.html?utm_source=cleo&ts_pid=2 HTTP/1.1
109 higherperspective.com GET /wp-content/plugins/anti-captcha/anti-captcha-0.3.js.php?ver=68dd09b9ff11f0df5624a690fe0f6729 HTTP/1.1
85 higherperspectives.com GET /shipping-container/ HTTP/1.1
The top result showed a large number of hits to admin-ajax. To get a little more information, I added the following line to your wp-config.php. Basically, this creates a text file in your wp-content folder that contains a record of all hits to your ajax file. I let that run for about five minutes. Please note: if you’re ever going to try this troubleshooting step from your end, please be sure to remove that line from your wp-config.php file you’re done. If it’s left on for long periods of time, it can create a VERY large file.

The following action was seemingly hitting admin-ajax up to several times a second:

[action] => td_ajax_block
Running a search for that action within your file system showed that was associated with your Newspaper theme. Here are the files in which it can be found which you can provide to your site’s developer or the theme developer:

wp-content/themes/Newspaper/includes/wp_booster/td_ajax.php
5:function td_ajax_block(){
88:add_action( ‘wp_ajax_nopriv_td_ajax_block’, ‘td_ajax_block’ );
89:add_action( ‘wp_ajax_td_ajax_block’, ‘td_ajax_block’ );

wp-content/themes/Newspaper/js/min/site.min.js
50:function td_ajax_do_block_request(a,c){var b=JSON.stringify(a);if(td_local_cache.exist(b))return td_block_ajax_loading_start(a,!0,c),td_ajax_block_process_response(td_local_cache.get(b),c),”cache_hit”;td_block_ajax_loading_start(a,!1,c);jQuery.ajax({type:”POST”,url:td_ajax_url,cache:!0,data:{action:”td_ajax_block”,td_atts:a.atts,td_cur_cat:a.td_cur_cat,td_block_id:a.id,td_column_number:a.td_column_number,td_current_page:a.td_current_page,block_type:a.block_type,td_user_action:a.td_user_action},success:function(a,
51:e,f){td_local_cache.set(b,a);td_ajax_block_process_response(a,c)},error:function(a,c,b){}})}
52:function td_ajax_block_process_response(a,c){var b=jQuery.parseJSON(a);jQuery(“.sub-cat-“+b.td_block_id).removeClass(“cur-sub-cat”);jQuery(“#sub-cat-“+b.td_block_id+”-“+b.td_cur_cat).addClass(“cur-sub-cat”);”load_more”==c||”infinite_load”==c?jQuery(b.td_data).addClass(“animated_xxlong”).appendTo(“#”+b.td_block_id).addClass(“fadeIn”):jQuery(“#”+b.td_block_id).html(b.td_data);!0===b.td_hide_prev?jQuery(“#prev-page-“+b.td_block_id).addClass(“ajax-page-disabled”):jQuery(“#prev-page-“+b.td_block_id).removeClass(“ajax-page-disabled”);

wp-content/themes/Newspaper/js/td_blocks.js
190: td_ajax_block_process_response(td_local_cache.get(current_block_obj_signature), td_user_action);
200: action: ‘td_ajax_block’,
219: td_ajax_block_process_response(data, td_user_action);
233:function td_ajax_block_process_response(data, td_user_action) {

wp-content/themes/Newspaper/js/full_compact/site.js
1663: td_ajax_block_process_response(td_local_cache.get(current_block_obj_signature), td_user_action);
1673: action: ‘td_ajax_block’,
1692: td_ajax_block_process_response(data, td_user_action);
1706:function td_ajax_block_process_response(data, td_user_action

We’ll keep looking into this to be sure that it’s those admin-ajax hits contributing to the 504s, but I wanted to pass along that information in the interim.

Help??

orlando
Participant
#0

hi,

i’m using version 4.3.5. Plugin WPBakery Visual Composer, with thema NewsMag version 1.7,
as latest version 4.4.3 or previous versions of Visual Composer plugin WPBakery, always give 500 error, blocking the site.

What do you pua to understand why it happens ??

I await your response about

HeeHeHeHe
Participant
#0

I have followed documentation for adding a border to my block under design options.

The border however does not show on my page around the block.

Any ideas why?

Cheers

Ing Geek
tagDiv Member

Thanks saloCharly. In my site The adsense block shows on the footer. In your site keeps fixed bottom in the mobile screen?

artamax
Participant
#0

When i add Block1 in VC to the page with “Default Template” and enable sidebar — strange layout appers: on the right side of Block 1 there is big margin. I have no idea how to get rid of it.
Here is the test page http://new.budapestinc.com/binc/
in the VC code is just this
[vc_row][vc_column width="1/1"][td_block1 limit=”5″ custom_title=”Test 2″ sub_cat_ajax=”n”][/vc_column][/vc_row]
any advice please?

artamax
tagDiv Member

Thank you for the help. I have one more problem i just can not solve :/
When i add Block1 in VC to the page with “Default Template” and enable sidebar — strange margin appers on the right of Block 1 and i have no idea how to get rid of it
Here is the test page http://new.budapestinc.com/binc/
in the VC code is just this
[vc_row][vc_column width="1/1"][td_block1 limit=”5″ custom_title=”Test 2″ sub_cat_ajax=”n”][/vc_column][/vc_row]
any advice please?

MrOrsh
tagDiv Member

Almost what I meant 🙂

I want to change the background color of the headlines for the blocks on the sidebar including the 2px line. I want them to be black as in this picture, standard they are blue.

  • This reply was modified 11 years by MrOrsh.
  • This reply was modified 11 years by MrOrsh.
artcuddy
tagDiv Member

Ok thanks Lucian I have one ad displaying on the bottom of the block so that will do me for the moment, I’ll see how far I can get thanks for the quick response.

Art

Emil G
tagDiv Staff

Hi,

On the first issue – did you used a random sort order on that block? if you didn’t do you use unique articles on page? You can also try to disable all plugins and see if the issue is still there.

If nothing works please send an email at contact@tagdiv.com , paste a link to this thread and provide wp-admin so i can take a look.

Thank you, Emil G.

Alin [tagDiv]
tagDiv Staff

Hi,

I’m not sure what you try to do. You can use this css if this is what you need: http://screencast.com/t/4JtWmVk6IyX

.td-header-bg.td-header-style-8.td-menu-background{
position: fixed;
display: block;
left: 0;
right: 0;
}
.td-grid-wrap{
margin-top: 50px;
}

Also if you don’t have basic css/html experience you can always hire a professional to change the menu how you wish, as we cannot provide any custom work for the moment. Sorry for this!

Hope this helps!

Balders
Participant
#0

Hi there,

Where can I found the following array script from version 1.6 (td_global.php from wp_booster folder). It somehow vanished with 1.7.

array(
"param_name" => "sort",
"type" => "dropdown",
"value" => array('Upcoming Events' => 'upcoming','- Latest -' => '', 'Random posts Today' => 'random_today' , 'Random posts from last 7 Day' => 'random_7_day' , 'Alphabetical A -> Z' => 'alphabetical_order', 'Popular (all time)' => 'popular', 'Popular (last 7 days; enable first from ' . TD_THEME_NAME . ' Panel -> Block settings -> 7 days post sorting)' => 'popular7' , 'Featured' => 'featured', 'Highest rated (reviews)' => 'review_high', 'Random Posts' => 'random_posts', 'Most Commented' => 'comment_count'),
"heading" => 'Sort order:',
"description" => "How to sort the posts.",
"holder" => "div",
"class" => ""
)
,

Cheers

Alin [tagDiv]
tagDiv Staff

Hi,

You can change thumbnail size for blocks/modules in functions.php: http://screencast.com/t/YMAcSPF2DY and after that please regenerate thumbnails: https://forum.tagdiv.com/how-to-fix-strange-thumbnails/

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

Please follow Emil solution to add a new sort order: https://forum.tagdiv.com/topic/big-slide-post-order/#post-42966 this will appear on all blocks(not only on Big Slide).

Thanks!

animaguzzista
Participant
#0

Hi, i’m very satisfied about this theme! But i have an important request.
I need to set a specific page (not an article) to be loaded into home page through a block (the one on the right, before “tessera Anima Guzzista”:
http://5.196.224.66/

I have seen that pages aren’t categorized… how can i set some specific pages to be ever visible into home page?

Thanks for any help

Alin [tagDiv]
tagDiv Staff

Hi,

You can use Widgetised Sidebar block and try to target with .wpb_widgetised_column like this: http://screencast.com/t/9Rw9pCPqXLjzhttp://screencast.com/t/Iqa3Sn3SmWE
I’m not sure what you are trying to change, the screenshots from above are only an example how to target block in the sidebar. Also for post if you want to change something in the sidebar you can use .td-post-sidebar class.

Hope this helps!

Shuriken
Participant
#0

Hi everyone,

I’m using Advanced custom fileds plugin. I’ve created field ‘event_date’ and use it in posts. This field contains date format and represents event start date. So I need this field to be shown in blocks on the main page.

The field is shown OK when I call it with <?php the_field(‘event_date’); ?> within post page.
But I need it to be shown in td_module_2.php inside <div class=”meta-info”></div>.

Can you help me with right way how to call it bacause all the standard ways not working.

Thank in advance.

Alin [tagDiv]
tagDiv Staff

Hi,

Please provide a link so I can take a look and specify which block are you using. The above code is an example how to target the block as you did not say block that you are using. Also like I said above you can set a color style for your blocks and make your changes in Theme Panel.

Thanks!

Carllauren
tagDiv Member

The problem is in the file called td_block_template_1.

Apparently it is rendering a white color for the default blocks with @header_color;

I have no idea how to change that color. For now I just exchanged @header_color; to #000000; which seems to work.

artcuddy
tagDiv Member

Just to add to this I’m using this shortcode <?php echo do_shortcode(‘[td_block_12 limit=”4″ custom_title=”More Stories” td_filter_default_txt=”All” ajax_pagination=”infinite”]’);?> at the bottom of the loop-single-2.php. I want to insert ads in this block after every 4 posts. Thanks

artcuddy
Participant
#0

Hi Guys

Trying to insert ads after every 4 posts in block12 using the infinite loading, can you point me to the correct loop as I have tried adding the code as described here https://forum.tagdiv.com/topic/insert-ads-between-posts-in-latest-articles/. But the infinite load in block 12 doesn’t seem to use the same loop any ideas on how I can achieve this.

Thanks

Art

Viewing 25 results - 36,451 through 36,475 (of 39,816 total)