Search Results for 'block'

Results from the Forum
mc_kot
tagDiv Member

Our theme displays the featured image on the post itself so there is no need to add the image again in the post content itself.

I know, but the issue is that in my previous theme there were no such support of the thumbnail featured image, so I was forced to add the first image of the post. So there are more than 20.000 posts with the images which are displayed below the featured image. To remove them manually it will take ages.

unfortunately there is no automatic way of doing this

I found the following code for functions.php that make it automatic
function remove_first_image ($content) {
if (!is_page() && !is_feed() && !is_feed() && !is_home()) {
$content = preg_replace("/<img[^>]+\>/i", "", $content, 1);
} return $content;
}
add_filter('the_content', 'remove_first_image');

This removes the first image from displaying on the front-end, but
– it leaves it in the Editor
– it also doesn’t remove the caption

Probably you may advise on some other way of removing the first picture when it is removed from the editor and when it is also removes the capture?

mc_kot
tagDiv Member

thanks.done. Ideally it would be great if there is any possibility of adding td_social_icons and td_block_social_counter for child theme support.

Bogdan B.
tagDiv Staff

Hi,
Please check out are demo to see how the block should display properly on a 2/3 or a 1/3 layout: http://demo.tagdiv.com/newspaper/block-14/http://screencast.com/t/N16hqlpq
Thank you!

ycetindil
Participant
#0

Hi I entered “1136,1144,1140,15,1137” at multiple categories filter field but it is still showing all categories on the Don’t miss (Block 1) section.
Webpage is http://jwf.org

Thanks.

Bogdan B.
tagDiv Staff

Hi,
Please check the theme versions in the theme panel. these options are only available in newspaper 7. The ones that don;t have the Instagram also do not have the extra blocks and grids. Please check here: http://screencast.com/t/7F2P5nqWYI and make sure all your themes have the same version,
Thank you!

Bogdan B.
tagDiv Staff

Hi,
The best thing to do in this situation is make sure you do not use many different blocks and modules on your site. Try to use just a few of them and remove the thumbnails for the rest. That way you can reduce the thumbnails created for each image: http://screencast.com/t/MKOAdlcAUs9C
After you disable some of the thumbnails, you can use the ‘force regenerate’ plugin and regenerate your thumbnails.
Thank you!

Khalidbk
tagDiv Member

Thank you ! I have fixed this problem but now I can’t configure the custom display categories in the blocks. Nothing changes on the site after update parameters

ptnorman
tagDiv Member

Hi again Bogdan B!!

I’m sorry – you are absolutely correct: the issue was on my end.

The Safari AdBlocker Extension (by Eyeo) was causing the issue, even though it had been disabled! I emptied history, caches, etc via the ‘Develop’ menu but nothing worked.

– I remembered that months ago I installed the AdBlock Safari Extension (by Eyeo) for a short time to test it against a WordPress installation
– I uninstalled it after only a few minutes of usage
– But the uninstall didn’t work or complete properly
– only after reinstalling it and then uninstalling it did the Social Connector show up in Safari!

I use Google Chrome mostly and, oddly, the Chrome AdBlock extension doesn’t cause an issue with the Social Connector!!!!

I’m sorry I wasted your time. But I really REALLY appreciate that you stuck with me and pushed me to dig deeper.

Thanks again! You rock the most!
Peter

destanley
Participant
#0

Love this theme! As a thank you, here’s some custom code. Sure there are better ways, but I don’t know them. 🙂 I spent last night coding this out, and I figure some others might have the same request. I’m running WordPress MU and wanted to share a menu with all the sites, but I didn’t want to manually enter each in. The code will pull the contents from the top menu into the mobile menu.

//// TO MAKE MENU APPEND TO MOBILE RESPONSIVE MENU. ONLY TOP LEVEL LINKS /////

Custom CSS – Enter into Theme Options -> Custom Code -> Custom CSS

@media (max-width: 767px)
{
/* Hide Dropdowns */
#menu-top-bar li ul {
display: none !important;
visibility: none;
}

/* Hide Down Icon */
#menu-top-bar .td-icon-menu-down {
display: none;
}

.top-header-menu li {
display: list-item;
}
}

CUSTOM JAVACSRIPT – Enter into Theme Options -> Custom Code -> Custom Javascript

jQuery(function() {
var content = jQuery(".menu-top-container").contents(); //GET TOP MENU CONTENT
jQuery(".td-mobile-content").append("<hr />"); // THIS JUST ADDS A DEVIDER
jQuery(".td-mobile-content").append(content.clone()); //clone to contents (so it won't be reomoved from original element) and move element into menu
});

That’s it. 🙂 Below are a few more options.

/// THESE ARE OPTIONS THAT DON’T PULL THE CODE INTO THE MOBILE MENU, BUT DISPLAY IT AT THE TOP.

CSS TO MAKE TOP MENU (ONLY) SHOW UP ABOVE THE CONTENT IN MOBILE MODE (newspaper 7). This one has the links side by side with drop downs..

@media (max-width: 767px)
{

.td-header-sp-top-menu {
display: block !important;
}

.td-header-top-menu-full {
display: block;
}

#menu-top-bar {
padding: 0 0 0 40px !important;
}
}

CSS TO MAKE TOP MENU (ONLY) SHOW UP ABOVE THE CONTENT IN MOBILE MODE (newspaper 7). This one removes dropdowns and stacks the links.

@media (max-width: 767px)
{

.td-header-sp-top-menu {
display: block !important;
}

.td-header-top-menu-full {
display: block;
}

#menu-top-bar {
padding: 0 0 0 40px !important;

}

#menu-top-bar li ul {
display: none !important;
visibility: none;
}

#menu-top-bar .td-icon-menu-down {
display: none;
}

.menu-top-container {
margin-right: 0px;
}

.top-header-menu li {
display: list-item;
position: relative;
margin-left: 0;
/* background-color: #dcdcdc; */
border-bottom: .5px solid;
padding-left: 10px;

}

#menu-top-bar {
padding: 0 0 0 0px !important;
min-width: 400px;
}

.td-header-top-menu {
padding: 0px;
}

}

chris1407
tagDiv Member

Can you pls take a look at my homepage. It looks more like an failure / bug, because the preview of the content blocks looks different.

Andrei L.
tagDiv Member

Hi

Try this css in theme panel > custom code > custom css: http://screencast.com/t/7WbTC2m7Z

.td_block_wrap .meta-info{
display: none;
}

Thanks!

Andrei L.
tagDiv Member

Hi

You can set SPORT as primary category and it will be displayed as category tag on modules and blocks.
Let us know how it goes and if this is not what you mean please provide more detail about what you’re trying o do so we can get back to you with a more accurate answer.

Thanks!

chris1407
Participant
#0

I want to make a fullwidth homepage with visual composer. I used the Template “pagebuilder + page title”. If i insert one of your predefined blocks, they span only 66%. Is it possible to send you login data private.

Bogdan B.
tagDiv Staff

Hi,
Please try to deactivate all plugins excpt visual composer, clear cache and reset cdn files if you use it.
If you use the wordfence plugin, please set it to learning mode as it will block the theme panel settings as this topic suggests: https://forum.tagdiv.com/topic/cant-save-theme-settings/
Make sure you clear cache afterwards.
Let us know how it goes
Thank you!

Catalin
tagDiv Staff

Hello cooolvita,

If you want to get rid of that white space, you will have to use a bit of CSS code to do that. Please try the code below and place it in Theme panel->Custom CSS area.

The code is ->
.td-crumb-container{
display:none!important;
}
.td-post-title {
display:none;
}
.td-module-meta-info {
display:none!important;
}
.td-post-content .wpb_text_column{
display:none;
}

The results you should see here -> http://screencast.com/t/vlpPbbXS7S3A
Also, if you want that the code below to be applied only for your mobile devices, you will have to use the following code with @media attribute –>>

@media (max-width:767px){
.td-crumb-container{
display:none!important;
}
.td-post-title {
display:none;
}
.td-module-meta-info {
display:none!important;
}
.td-post-content .wpb_text_column{
display:none;
}
}

So, please notice that your second request regarding no reducing the height for the Block 14 thumbs size involves custom work and this type of service is not covered by our support. Please notice that you can control the posts which will be displayed for your Block 14 from the Block Settings panel, like this -> http://screencast.com/t/2l4lU8fi91 and the results you should see here -> http://screencast.com/t/yTw1CkBwFw7x

For more information about our Blocks, please check our documentation here -> https://forum.tagdiv.com/block-settings-tutorial/

Hope this helps!

Thanks for your understanding!

salimnazer
tagDiv Member

Hi Catalin,

I removed the old version of theme via FTP and made a fresh installation via FTP using the May 24th release. But every time I does a clean install, I still find my theme with all the previous customisations made to it. Can you clarify why this happens. I am trying to make a fresh installation with the themes default state hoping that it resolves all issues which might have occurred due to theme customisations made so far.

I don’t wanna miss out on the new blocks available in Newspaper 7 as it was long awaited for and I even made a feature request for that.

Thanks for your kind assistance and patience. Hope you understand what I am looking for.

fpavic
Participant
#0

My category structures have numberous category and main block for frontpage is generated form second celected category – example: article is in Sport and (MAIN NEWS) category… How can I display only SPORT in category tag and not the (MAIN NEWS)?

Thanx!

Bogdan B.
tagDiv Staff

Hello,
Unfortunately our theme does not support sub-pages. Pages do not work like taxonomies. You can create multiple pages for your guides and filter a block to show pages. You can name the block health guides and add separate pages to it: http://screencast.com/t/I8dCu3p9C
result: http://screencast.com/t/fqHysuff9
Or as an alternative, use posts within a health guides category.
Hope this helps.
Thanks.

cooolvita
Participant
#0

Hi, Thank you for your kind answer

i have a qeustion

1. Before, I asked you about the solution to get rid of the title from the contents, and received the answer to enter “.single .entry-title{ display:none!important; }”. And the title disappeared as you instructed, but the space where the title was still remained. Is there any way to remove the title space, as well as the title? Because the title takes a pretty large space on mobile display, the articles doesn’t have an enough space and accordingly, they have to go further down. Just like shown in the below screenshots, I want to remove both the title and the space for the title in the contents on mobile display, and make it show like the second screenshot for a better view.

(1) http://i0.wp.com/popkoon.com/wp-content/uploads/2016/05/KakaoTalk_20160525_161546511.jpg?resize=169%2C300
(2) http://i2.wp.com/popkoon.com/wp-content/uploads/2016/05/KakaoTalk_20160525_161546227.jpg?resize=169%2C300

2. Currently, td_block14 is in use. And the PC version is satisfactory enough. But in case of mobile version, it is too large in size and shows only two or three articles at one view. Is there any way to make UI/UX of the mobile version like the below second screen shot?I received the answer “http://screencast.com/t/68xOeiT3hvQf” for the question to resize td-blcok. But when I followed the instruction described in your answer, it was not resized, but “X” mark was shown instead of the thumbnails. So I’d like to know the way to change only the layout of mobile version. If I can’t receive your assistance in this matter, I’d like to know the way to decrease the vertical length of td-blcok14 by half.

(1) http://i1.wp.com/popkoon.com/wp-content/uploads/2016/05/KakaoTalk_20160525_163508943.jpg?resize=169%2C300
(2) http://i1.wp.com/popkoon.com/wp-content/uploads/2016/05/KakaoTalk_20160524_120118507.jpg?resize=169%2C300
(3) http://i1.wp.com/popkoon.com/wp-content/uploads/2016/05/KakaoTalk_20160525_162633254.jpg?resize=169%2C300

Khalidbk
Participant
#0

Hello !

I have installed newspaper 7 on my web site but I can’t personalize homepage beacause the visual composer does’t work. When I clic to add elements, blocks or models, my clic don’t work ! what I need to do ?

Mark
Participant
#0

Hello –

I was wonder if it was possible to create a page that’s called “Health Guides” and use VC to build out a template. But I would only want to show Pages that are subpages of the Health Guides..

So I currently have Site.com/health-guides/ and all my guides go after that..

For Example:

Site.com/health-guides/topic-1-info
Site.com/health-guides/topic-2-info
Site.com/health-guides/topic-3-info
Site.com/health-guides/topic-4-info

Is it possible to have that main Health Guides page to be built out like the homepage, but only display the sub-pages under Site.com/health-guides/ ?

Thank you.

Edward
tagDiv Member

A sample child theme is available in the /code/ folder in the package that you downloaded form Themeforest.

https://forum.tagdiv.com/the-child-theme-support-tutorial/

Andrei L.
tagDiv Member

Hi

Try this css in theme panel > custom code > custom css: http://screencast.com/t/ivKCZykpn

.td_block_social_counter .td_social_info{
display: none;
}

Thanks!

Bogdan B.
tagDiv Staff

Hi,

The modules and blocks were created by us on the visual composer layout, and yes it;s pretty limited, but we try to do our best with what we have.
1) You can filter cpt-s in blocks but not taxonimoes. The blocks were designed to work with the standard category taxonomyu and not a custom taxonomy. You can either filter all the CPT type like for example an event or a place, but not it;s category.
You can have multiple cpt’s in one block at the same time by adding more post types with a comme like: post, event, palce, etc…and selecting multiple ‘posts’ If you keet the post id filter empty, all of the posts from the CPT’s you filtered will be grabbed in the block sorted by your selected sorting method. latest, random, oldest, etc. If you want specific posts, you can add multiple id’s in the post id filter ex: 45, 48, 245, 56, 675, etc.
2) Unfortunately the blocks are not centralized. You cannot edit them in one place and affect all the other blocks. Pages do not work that way. posts or categories do, but not pages that use visual composer.

Sorry for the inconvenience and thank you for your understanding.

nycinsider
tagDiv Member

VC is the worst designed, least intuitive product I’ve ever used in the history of web development. And without support or updated documentation or videos I can’t see (they set them not go full screen) it’s impossible to use.

1) How do I filter for multiple post types and/or categories in 1 block? You finally explained how to pull 1 custom post, but I can’t filter for 1 CPT category, a Post and CPT category, or a selection of Posts and CPTs in one block

2) Reusable blocks – I totally don’t understand how to reuse them if I want to update them in one place only. So I create a block, set the filters. Then I want to use said block on multiple pages – but want to update it next month in ONE place only? You’d think TEMPLATES would do this. But you can’t edit a template?????? That’s insane. Is it possible to create “includes” or templates with the blocks that are editable – and centralized?

VC is fairly useless and they offer no current instructions on anything. It’s a shame Newspaper theme depends entirely on such a poor, tedious product. The blocks you’ve designed look great – but I can’t use them.

Viewing 25 results - 29,951 through 29,975 (of 39,816 total)