Search Results for 'block'

Results from the Forum
Bogdan B.
tagDiv Staff

Hi,
Well unfortunately our theme does not have any such option neither desktop nor mobile. There is no option to add a custom block on all pages or posts at once especially on the mobile theme as the options are very limited on the plugin and it does not use visual composer. It will ignore any VC shortcode.
Thank you!

Catalin
tagDiv Staff

Hello Syams,

If you want to change the style of the quotes, you should change the values from the code below and place it in Theme panel->Custom CSS Area.

The code is ->

.td-post-content blockquote p{
font-size: 15px;
line-height: 20px;
font-weight: normal;
font-style: italic;
text-align: center;
text-transform: capitalize;
color: red;
}

The result is here -> http://screencast.com/t/cq0lmikya

Thanks for the message!

#0

Hello to all team members, does anyone have more info about this php file? Wordfence scan found unknown file in WordPress core: wp-includes/functions2.php. File was created when we registered domain name and start building our website (2,5 years ago)

content of this function2.php below
————————–

<?php
global $adsenseBlock1;
TXT;
function custom_excerpt_length( $length ) {
return 100;
}
add_filter( ‘excerpt_length’, ‘custom_excerpt_length’, 999 );
function new_excerpt_more($more) {
global $post;
return ‘..ID) . ‘”><br />more…‘;
}
function excerpt($num) {
$limit = $num+1;
$excerpt = explode(‘ ‘, get_the_excerpt(), $limit);
array_pop($excerpt);
$excerpt = implode(” “,$excerpt).”..”.'<div class=”source”><p>ID) . ‘”>more…</p></div>’;
echo $excerpt;
}

function image($size) {
$theContent = get_the_content();
$frst_image = preg_match_all( ‘|<img.*?src=[\'”](.*?)[\'”].*?>|i’, $theContent, $matches );

$img = $item[‘image’] = $matches[ 1 ][ 0 ];
$result = ‘‘;
echo $result;

}

function title($num) {
$limit = $num+1;
$title = explode(‘ ‘, get_the_title(), $limit);
array_pop($excerpt);
$title = implode(” “,$title).”…”;
echo $title;
}
add_filter(‘excerpt_more’, ‘new_excerpt_more’);
add_action(‘admin_menu’, ‘lcmp_add_theme_page’);
add_action(‘wp_footer’,’lcmp_theme_options’);

——————————

I really appreciate any help you can provide

tootiefrutie
tagDiv Member

I’m trying to add another query/loop to the mobile homepage. I’d like to display latest posts from both “News” and “Podcast” categories. I’ve duplicated the loop, however nothing is being rendered the second time. Why?


<!-- begin Podcast loop -->
<div class="td-container td-pb-article-list td-main-content" role="main">
<?php if ( empty( $paged ) or $paged < 2 ) { ?>
<h4 class="block-title"><span><?php //echo $td_list_custom_title; ?>Latest Podcasts</span></h4>
<?php }

$posts_per_page = get_query_var('posts_per_page') ? get_query_var('posts_per_page') : 5;

// query used on Latest Articles section
$wp_query_args = array(
'ignore_sticky_posts' => 1,
'post_status' => 'publish',
'posts_per_page' => $posts_per_page,
'paged' => $paged,
'category_name' => 'Podcast',
'posts_per_page' => 5,
);
query_posts($wp_query_args);

locate_template('loop.php', true);
echo td_page_generator_mob::get_pagination();
wp_reset_query();
?>
</div>

<!-- begin News loop -->
<div class="td-container td-pb-article-list td-main-content" role="main">
<?php if ( empty( $paged ) or $paged < 2 ) { ?>
<h4 class="block-title"><span><?php echo $td_list_custom_title; ?></span></h4>
<?php }

$posts_per_page = get_query_var('posts_per_page') ? get_query_var('posts_per_page') : 5;

// query used on Latest Articles section
$wp_query_args = array(
'ignore_sticky_posts' => 1,
'post_status' => 'publish',
'posts_per_page' => $posts_per_page,
'paged' => $paged,
'category_name' => 'News',
);
query_posts($wp_query_args);

locate_template('loop.php', true);
echo td_page_generator_mob::get_pagination();
wp_reset_query();
?>
</div>

eddiecassidy6
Participant
#0

Hello

I would like to ask you how can I combine windows together with a different sizes. Please see a picture.
picture
Where I would like to put a window BRANDY under windows WHISKEY AND BOURBON and then below BRAND put RUM AND TEQUILA windows. So if I would roll down page the third window with social counter, ad box and block 21 with be rolling down within you until last article in RUM and TEQUILA.

Next I would like to ask you how can I put image in the main menu? Thank you very much

my web

deelv
Participant
#0

I have it set to show a single category on blocks and it is working but I was wondering if I could show either a tag or a second category on the block. It would then show Category A | Category B or Category A | Tag A. Thanks as usual tagdiv!

vachos
Participant
#0

hi there,
it is possible to add to all blocks the mouse over effect have the big grid(zoom image in :hover)
thanks for help.

SavvyZen
tagDiv Member

So the Main Menu on our website, http://www.Savvyzen.com does not fit across the entire screen. As you can see on other websites

http://www.apple.com
http://www.stevepavlina.com

Their colored menu bar with their drop down categories extends across the entire background of the screen, there are no margins on the side. How do I create this for our website? In the “mobile” version the main bar fits across an entire phone screen. I don’t understand why this doesn’t happen when looking at our website from a computer?

Also, why do the posts on the main page have a white background? As you can see, the main background is a light green color but the actual posts (see the fake post about janu sirasana on the main page) all have a white block of background. How do I change the background color for the posts? Thanks.

andzon
Participant
#0

I am currently using “newspaper fashion”

and you get to see the block title of

This Week trends, we are social, new collections and etc..

how do i change that? I tried going to translation and isnt there

thanks.

Bogdan B.
tagDiv Staff

Hello,

Please make sure you add the tag id in the ajax filter: http://screencast.com/t/hEtCVRnaPeI
The ajax filter works with id;s not the tag itself.
I just tested this on my end but could not see the issue. If you select a particular category and a particular tag inside the filter section of the block settings and then use the tag id in the ajax filter: http://screencast.com/t/uWXL3TXhhj8l then there won;t be any posts from outside the category and the tag.

Thank you!

stax
tagDiv Member

Yes, but in this way the content is static. I want when I add a new post that appears automatically, not that I have every time I insert it manually. I need something like blocks in Visual Composer

  • This reply was modified 9 years by stax.
Catalin
tagDiv Staff

Hello alpsbox,

I suppose that you are referring to this type of pagination -> http://screencast.com/t/R0MXPLh7M0I2, right? Notice that it is just latest article pagination which has only this design. If you want to change this, you should edit the theme core files and change from there this pagination. Please notice that the pages may not be numbered but only the elements from the page such as Modules/Blocks or other elements from Visual Composer. If you want to add the Next/Prev pagination for a block you should consult the Block Settings according to our documentation here -> https://forum.tagdiv.com/block-settings-tutorial/ and there you will find all the features which are available for our blocks. -> https://forum.tagdiv.com/page-templates-2/

If is not what you mean, please provide more details so I will be able to provide a more accurate response.

Thanks for the message!

Catalin
tagDiv Staff

Hello ehores,

Also, please notice that each block uses a specific thumb which crops the each featured image from your posts.
Please take a look over the below explanation and try to understand a bit how it works 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 utilized by the theme. When a post it’s displayed on the page in a block, the featured image shown 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 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.

A primary example you should see here -> http://screencast.com/t/rhIdwe22d2

Thanks for your understanding!

Alin [tagDiv]
tagDiv Staff

Hi,

Do you want to add a block on your page and place there an image and a link to a specific category?
From version 7.5 we have added a new block which may help you achieve this “Image Box” – http://screencast.com/t/a3LUXPxjjhttp://screencast.com/t/SSyOnkTsp
Result – http://screencast.com/t/4U9b59ngNo3S
You can try it and see how it goes!

Thanks!

Jose
Participant
#0

Hello,

I add this code in ADS 5 (theme panel): http://pastebin.com/KgYfPtaz

This code: <style>
.menubajo { width: 320px; height: 100px; }
@media(min-width: 500px) { .menubajo { width: 468px; height: 60px; } }
@media(min-width: 800px) { .menubajo { width: 728px; height: 90px; } }
</style>
<center>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- menubajo -->
<ins class="adsbygoogle menubajo"
style="display:block"
data-ad-client="xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
data-ad-slot="xxxx"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script></center>

I add this ADS 5 in home page, only home page. But nor run ok, because dont respect the size of style.

Here: https://s16.postimg.org/4uqnn9xn9/error01.jpg

You can see, thats size style not run. I put here:

https://s4.postimg.org/5scripq31/posicion_home.jpg

My web: https://goo.gl/CKI3O0

Now I diosable this,. beacuse I dont want a square ad. I can send you acces if u need.

Thanks, Jose

PD. Just today I extended the support 🙂

deltaw
Participant
#0

Hello!
I filter out everything in a category that has a specific tag (MySpecialPosts). Uses Block 16.

I also use Ajax filter to view different tags.

Here comes the problem. When I click on a tag in Ajax filter all posts shows with that tag.
But do not hide posts that do not have the basic tag (MySpecialPosts) that I put into the filter settings?

Bogdan B.
tagDiv Staff

Hello,

Unfortunately our theme is limited to the block settings it provides: https://forum.tagdiv.com/block-settings-guide/
You will have to find a sorting option that fits your needs using the filters available for blocks categories, tags, authors, etc.
The tag filtering will offer a better control over the posts by simply adding the tag to the post you want to show in the block.

Multumesc.

Alin [tagDiv]
tagDiv Staff

Hi,

This depends on your server configuration as the theme has some server requirements – https://forum.tagdiv.com/newsmag-requirements-for-newsmag/ Check also the System Status parameters like Chris suggested – https://forum.tagdiv.com/system-status-parameters-guide/ Consider also the other suggestions as Chris has experience with these kind of things.
Also you could try to reduce the ajax requests: try to not use mega menus, blocks with pagiantion(next prev, infinite load..) and see how it goes.

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

Please check the guide “How to use Visual Composer” – https://forum.tagdiv.com/newsmag-how-to-use-visual-composer/ The tagDiv blocks were designed to be used only on blue highlighted columns. If you wan to use them in other types of columns you will custom modifications to adjust them.

Thanks!

fixthisbuildthat
tagDiv Member

Hello! I have gone back to using the Big Grid element on Newsmag and the CSS provided no longer works. I assume with the 2.xx rewrite some of the module and block names were changed. Can you please help provide the proper syntax I should use to replicate this from before

.td-big-grid-overlay:after{
opacity: 0.7;
}
.td-image-gradient:before{
background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.5) 90%);
}

Thank you!
Brad

adil34
Participant
#0

Hello, We use the below method for ordering mega menu items on our site, but this method doesn’t work on mobile. We can’t order menu item with this method on mobile menu.

Could you help us if its possible to make it with the same or another method? Thanks a lot.
Normally we use order by ‘slug’ method which you mentioned another post.

THIS THE POST OF YOUR METHOD.
Regarding your second request, this is the order of the subcategories(alphabetical). There is not option to change this from settings, but you can modify the code, just add this order in td_block_mega_menu.php file – http://screencast.com/t/1Kk6ybz4C so you can order subcategories by slug – http://screencast.com/t/NpeWAblchttp://screencast.com/t/hOubcKikgUE

‘orderby’=>’slug’

imc67
tagDiv Member

Hi Bogdan,

You wrote:

You will have to disable the plugin and delete the files from the wp plugins section. Then install the new version as you would any plugin. Revolution slider as well as visual composer need this method of updating.

But at the website of Themepunch, the developers of Revolution Slider it says:

IMPORTANT!
Never uninstall/reinstall the plugin, as that would also delete your previously built sliders. Instead, as long as the following instructions are followed, any previously built sliders will be saved and still exist once the update process is complete.

I had that once so now I’m doubting how to update, Themepunch advises link, do you agree on that?

Kind regards,

Marcel.

mutebobby
Participant
#0

Hi,

We’re in the process of building out the upgrade procedure to move to Newsmag version 3.x and are having issues with our VC based front page. When using this column layout: 1/6 + 1/3 + 1/2

With Block type 11 in the 1st column, 8 in the 2nd and 12 in the third, there’s a grey line displayed where the 1/3 mark would be on the front page. If you reverse the column breakdown, i.e. 1/2 + 1/3 + 1/6 it’s displayed just fine.

In addition to this, it looks as if the style of Block 11 has changed from V2 with the image size now much smaller, meaning we’re unable to replicate our original page style.

This is now an upgrade blocker for us so would appreciate your help. Mail me for access to the test site as always when you can.

Thanks.

simchris
tagDiv Member

Google sometimes “scrapes” the text from the first element on page in lieu of meta data; and this happens sometimes when Google is re-indexing “everything” or specifically your site in the AMP vs desktop vs mobile SERPS shuffle o-rama.

Same things happens with Google News sometimes where they would grab the category bug above the headline and make that part of the title on Google News.

One thing you can do is add a text block to your website home page using an h1 tag which is short description of the site, typically same text you have in the meta tags, OG tags for your home page.

Double check your home page meta doing view source. Make sure your home page featured images all have proper description “alt” tags.

Bogdan B.
tagDiv Staff

Hello,

It seems your thumbnails are not active for the grid. It uses the full image instead and that cannot be made to fit the grid properly. Please make sure your thumbnails are active here: http://screencast.com/t/bY5NbMDzG9z and then use this guide to fix the images: https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/

Thank you!

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