Search Results for 'block'

Results from the Forum
ctoweett
tagDiv Member

Find the 404.php file inside the Newspaper theme and remove this code (preferably in a child theme not to lose the changes with the theme update).

<h4 class="block-title"><span><?php echo __td('OUR LATEST POSTS', TD_THEME_NAME)?></span></h4> <?php

                $args = array(
                    'post_type'=> 'post',
                    'showposts' => 6
                );
                query_posts($args);

                $td_loop_block_module = td_util::get_option('tds_404_page_layout');
                //$td_loop_block_module

                locate_template('loop.php', true);
                //get_template_part('category', 'slider');
                wp_reset_query();

                ?>
codyhulk
Participant
#0

According to the Sucuri site scanner the Spam SEO content is the following:

Code:
<body class=”archive category category-reward category-71 global-block-template-1 td-blog-travel td_category_template_4 td_category_top_posts_style_5 wpb-js-composer js-comp-ver-4.11.2 vc_responsive td-animation-stack-type0 td-full-layout” itemscope=”itemscope” itemtype=”https://schema.org/WebPage”><div style=”position:absolute;top:0;left:-9999px;”>
All for Joomla
All for Webmasters
</div>

You can verify that opening the page https://www.luxurylifestyle.co/category/reward/ for example and inspect the code via Chrome or FireFox:

The theme template Newspaper is loading the malicious SEO script. You will need to check all the theme files or reinstall it.

JA
Participant
#0

Hi.
I’m trying to show a subscription form made with Calls to Action (by InboundNow) but I can’t.
I pasted in a text block but it’s not shown.
What am I doing wrong?
I’ve tried your Newsletter plugin but I can’t use it because my newsletter service is Mailrelay, not Mailchimp

Thank you

Simion C.
tagDiv Staff

Hi,

The category tag can be disabled for each theme module. You can see what modules that grid uses in this guide (module MX9 si MX10)
https://forum.tagdiv.com/theme-blocks-modules/
Next you access the theme panel and disable them
https://www.screencast.com/t/gDhCtZW9ljFx

I don’t quite understand what you want to add to to the grid. If you mean a post excerpt that is not possible with a grid. Only blocks can display excerpts. It could be added but with some modifications only
https://forum.tagdiv.com/topic/adding-tags-and-excerpt/

A button in the header can be added , you would have to use a multi-purpose header style
https://www.screencast.com/t/bhhycFSKj
Then in the multi-purpose settings configure the buttons
https://www.screencast.com/t/H3Qejgr9

Thanks

Catalin
tagDiv Staff

Hello kurdi,

Please provide your website URL and also, some useful screenshots of the problem so I can identify it. Before this, you should remove all of the untested plugins, clear all the caches and check the results. If the problem is still there, you should try making a new clean install to another subdomain for testing and use only required plugins and then check the sorting functionality at our blocks.

Hope this helps and let us know how it goes!

Thanks for your understanding!

Philip Brookes
Participant
#0

I’ve added an Ad box in a column with a Sidebar ad in it, followed by Block 7 and another Ad box (with a Custom Ad). When I add 50px left and right padding to the first Ad box, all the other elements in that column also are padded. Is this a bug, and is there a way we can prevent it or work around it?

Originally, I had the two Ad boxes stacked one above the next, but I also suffered from the same problem then and couldn’t put any spacing between the two Ad boxes (it ignored the bottom and top padding of each Ad box) so it looked like the two ads were merged together. Basically, when I put the Ad box in a column any of the other elements in that same column seem to inherit some of it’s properties and be treated like another part of the Ad box.

kurdi
Participant
#0

I have created 3 levels of pages that look something like this

Items/Allergies/A item
Items/Allergies/Z item
Items/Cardiovascular/C item
Items/Dermatology/B item

I am using a block to display all items together, but when I ask the block to display A to Z sorting, it is failing to do so.

In other words it should display the pages sorted as follows
A item
B item
C item
Z item

Instead, it sorts as follows
A item
Z item
C item
B item

I believe what is happening is that it is incorporating the second level page in the name when sorting, so
Items/Allergies/A item
Items/Allergies/Z item
Items/Cardiovascular/C item
Items/Dermatology/B item

.. It is sorting Allergies then Cardiovascular then Dermatology

Is there any way around this problem? Thanks.

kurdi
tagDiv Member

The flex block worked beautifully — thank you!

dim_gian
tagDiv Member

Hi! The problem in my case was the an app in Plesk called wpcli-toolkit. From there i had enabled “Security of the wp-content folder” and this was the reason that caused the problem. It blocked scripts in wp-content folder from running. By disabling it the problem fixed. Hope this helps.

carolineno
tagDiv Member

Hi,
I have exactly the same problem with the “text with title” block.
It doesn’t work anymore since the last update of the theme.

Simion C.
tagDiv Staff

Hi,

There are also other problems from what I can see, besides the search issue. The images are not displaying, the ajax filter on blocks when clicked leads to the top of the page, sign in/join does nothing etc.
There are quite a few errors in the page source
https://www.screencast.com/t/eSUhigs0
This kind of javascript conflicts are usually caused by plugins, code entered in the theme panel, theme files, or child theme. You could check if that is the case. Take them one at a time and keep testing to see if the problem is solved.

Thanks

Simion C.
tagDiv Staff

Hi,

The theme is designed to work with self published content, posts should be created and published by authors and then displayed in the blocks/grids etc. That would be the intended functionality. So displaying content through RSS will be a problem.

You could try other plugins in that case, make further tests. Maybe you can find a solution.

Thanks

Simion C.
tagDiv Staff

Hi,

1. Do you use any caching or CDN? If possible try without any of these as a quick test. How the website loads could be affected by such services. You can check the live theme demo, see how it loads
https://demo.tagdiv.com/newspaper/

2. From what I can see you use stretched rows with blocks. The images may look blurry, the same thumbnails will be used, as in a non-stretched row.
You could use the flex block which allow you to choose a thumbnails size, this would be more suited for full width. Or use Full big grids
https://demo.tagdiv.com/newspaper/full-big-grid-1/

3. I inspected the website, for me this issue is not happening
https://www.screencast.com/t/QNu7izkp
That would be the header menu section, but it should not have a height of 1068px
https://www.screencast.com/t/jiHw3rU2q

4. The latest theme version is 8.7.4, the theme and WordPress should always be kept to date if possible.
https://forum.tagdiv.com/how-to-update-the-theme-2/
If you use WPBakery page builder for your website, remember to deactivate the tagDiv composer after you update. When both these page builders are active there could be problems with some elements.

Thanks

Simion C.
tagDiv Staff

Hi,

It may affect post loops, such as the latest articles loop, or the category page loops. May be other problems. Making posts sticky will not be taken into account by blocks or elements that display posts. Please try and use the available block filtering and sorting options.

Thanks

Bogdan B.
tagDiv Staff

Hello,
You can try to add this code in the theme panel-> custom css box:


.td_block_big_grid_fl_9 .td-big-grid-post-1 .td-module-image, .td_block_big_grid_fl_9 .td-big-grid-post-1.td-module-empty .td-module-thumb{
top:1px!important;
}
.td_block_big_grid_fl_9 .td-big-grid-post-2 .td-module-image, .td_block_big_grid_fl_9 .td-big-grid-post-3 .td-module-image, .td_block_big_grid_fl_9 .td-big-grid-post-2.td-module-empty .td-module-thumb, .td_block_big_grid_fl_9 .td-big-grid-post-3.td-module-empty .td-module-thumb{
bottom:0!important;
}
.td-big-grids-fl.td-big-grids-margin .td-big-grid-post{
border-width: 1px;
}

Thank you!

Simion C.
tagDiv Staff

Hi,

Please try to avoid using blocks in such row layouts, the results may not be the best. Blocks should be used only in these row layouts
https://www.screencast.com/t/IHeHtDFuXZ
This will ensure that they will always display properly
https://demo.tagdiv.com/newspaper/block-5/
The other row layouts are meant to be used with multipurpose elements.

However you could try the flex block, this block is more flexible and could be placed in a 1/4 + 3/4
https://www.screencast.com/t/jJaLRjST
https://www.screencast.com/t/aPjXD2mhVpuk

Thanks

Simion C.
tagDiv Staff

Hi,

Unfortunately the theme is designed to work with self published content, posts should be created and published by authors and then displayed in the blocks/grids etc. That would be the intended functionality.
The theme or theme blocks do not have any RSS features. We did not make any tests with such plugins, so I could not say what code modifications it will require to display this content with theme elements. Sorry for the inconvenience.

Maybe some other users who tried something similar could share their suggestions or experiences.

Thank you!

Simion C.
tagDiv Staff

Hi,

At the moment you cannot add more page templates, there are some predefined ones
https://www.screencast.com/t/bpspcmLYgZ

So you want to create a page that should have pictures, text and blocks in it. That is not difficult to do. The tagDiv composer contains such elements, so you can build a page like that with no problem.
Beginning from the top, as a post title use the column title element
https://www.screencast.com/t/NF8lOSeZ1HIo
For images there are also elements. Blocks can be placed with no problem.

Or you could use a simple column text for the text and images
https://www.screencast.com/t/xTC3xPJA

You can also save the row or the elements you configure, so when needed you can place them on any page
https://www.screencast.com/t/5vC09Ops94
https://www.screencast.com/t/MxyAgMeT

Thanks

sbackholm
Participant
#0

We recently upgraded our site to Newspaper version 8.7.2. After this upgrade, we’re noticing that dates are now visible next to the author’s name on the big grid and on blocks.

Is there an easy way to hide or not display these dates?

Thanks.

33ParkMedia
tagDiv Member

We are also seeing this issue after updating that the other 2 sites do not have…

https://capitalequityreview.com/wp-content/uploads/2018/05/Screen-Shot-2018-05-16-at-5.17.29-PM.png

Array
(
[0] => Array
(
[file] => /nas/content/live/capitalequity/wp-content/themes/Newspaper/includes/wp_booster/td_api.php
[line] => 337
[function] => error
[class] => td_util
[type] => ::
[args] => Array
(
[0] => /nas/content/live/capitalequity/wp-content/themes/Newspaper/includes/wp_booster/td_api.php
[1] => td_api_base::mark_used_on_page : a component with the ID: vc_column_text is not set.
)

)

[1] => Array
(
[file] => /nas/content/live/capitalequity/wp-content/themes/Newspaper/includes/wp_booster/td_api.php
[line] => 135
[function] => mark_used_on_page
[class] => td_api_base
[type] => ::
[args] => Array
(
[0] => vc_column_text
)

)

[2] => Array
(
[file] => /nas/content/live/capitalequity/wp-content/themes/Newspaper/includes/wp_booster/td_block.php
[line] => 40
[function] => get_by_id
[class] => td_api_base
[type] => ::
[args] => Array
(
[0] => vc_column_text
)

)

[3] => Array
(
[file] => /nas/content/live/capitalequity/wp-content/plugins/td-composer/includes/shortcodes/vc_column_text.php
[line] => 13
[function] => render
[class] => td_block
[object] => vc_column_text Object
(
[block_uid] =>
[td_query] =>
[td_block_template_data:protected] =>
[atts:td_block:private] => Array
(
[0] =>
)

[td_block_template_instance:td_block:private] =>
[is_loop_block:td_block:private] => 1
)

[type] => ->
[args] => Array
(
[0] => Array
(
[0] =>
)

)

)

[4] => Array
(
[file] => /nas/content/live/capitalequity/wp-content/themes/Newspaper/includes/wp_booster/td_global_blocks.php
[line] => 28
[function] => render
[class] => vc_column_text
[object] => vc_column_text Object
(
[block_uid] =>
[td_query] =>
[td_block_template_data:protected] =>
[atts:td_block:private] => Array
(
[0] =>
)

[td_block_template_instance:td_block:private] =>
[is_loop_block:td_block:private] => 1
)

[type] => ->
[args] => Array
(
[0] => Array
(
[0] =>
)

[1] => [td_block_trending_now header_color=”#ffffff” tdc_css=”eyJhbGwiOnsiYm9yZGVyLXRvcC13aWR0aCI6IjEiLCJwYWRkaW5nLXRvcCI6IjEwIiwiYm9yZGVyLWNvbG9yIjoiIzRmYWNlYSJ9fQ==”]
)

)

[5] => Array
(
[function] => proxy_function
[class] => td_global_blocks
[type] => ::
[args] => Array
(
[0] =>
[1] => [td_block_trending_now header_color=”#ffffff” tdc_css=”eyJhbGwiOnsiYm9yZGVyLXRvcC13aWR0aCI6IjEiLCJwYWRkaW5nLXRvcCI6IjEwIiwiYm9yZGVyLWNvbG9yIjoiIzRmYWNlYSJ9fQ==”]
[2] => vc_column_text
)

)

[6] => Array
(
[file] => /nas/content/live/capitalequity/wp-includes/shortcodes.php
[line] => 319
[function] => call_user_func
[args] => Array
(
[0] => Array
(
[0] => td_global_blocks
[1] => proxy_function
)

[1] =>
[2] => [td_block_trending_now header_color=”#ffffff” tdc_css=”eyJhbGwiOnsiYm9yZGVyLXRvcC13aWR0aCI6IjEiLCJwYWRkaW5nLXRvcCI6IjEwIiwiYm9yZGVyLWNvbG9yIjoiIzRmYWNlYSJ9fQ==”]
[3] => vc_column_text
)

)

)

kurdi
Participant
#0

Hello,
I’m trying to use a blocks to display three columns of thumbnails. This is what I see when I edit the block (block 5) in Tagdiv Composer:
https://i.imgur.com/b5gHdwJ.jpg

For some reason, when I save and view the page, all the thumbnails/pages are listed in a single column, like so:
https://i.imgur.com/i8NUcuk.jpg

Please Note..
(1) The page is 1/4 + 3/4. The left sidebar was added in the row with visual composer
(2) This problem occurs no matter which block I try to use. Block 7 would also be good, but the same problem occurs (listed in single column).
(3) This is still a dev site. I can give a temp URL if you like but I don’t want to list it on the forum.

Thanks

noc
Participant
#0

Dear team,

We are managing a news website on which we need to pull in posts from other sites via rss feeds.
In order to do so, we are using CyberSyn plug-in which pulls in posts from the other sites. This plug-in has the option to send the reader to the original post once you click on the thumbnail or the title of the post.
I have noticed that this functionality only works when the posts are displayed on the search page(after performing a search for the imported posts).
However when the same posts are added within a block in the Newspaper theme, clicking on the posts directs you to the local copy of the post.

Is there a way we can make any changes to the theme to also bring this functionality to the blocks?

If not, can you probably recommend an alternative method which will bring us the same functionality?
We have also tried to use the WP RSS element from the WP Bakery builder, but we need the posts to appear as if they were part of our own site. The WP RSS element displays the posts in text only.

Last but not least, i’d like to thank you all for the effort you put into developing this wonderful theme.

Best regards,
Florin Borangic

Wilkopinto
tagDiv Member

Thanks Simion.

I’ve checked and changed a lot of configs, and it’s not a problem with the auto-ads. It’s related to the ad type “in-article”. For some reason this type of ad doesn’t detect the correct size of the post space.

I removed the “auto-ads” from the <head></head> and inserted an ad “in-article” in the beginning, middle and end of the post and always happends the same.

<ins class=”adsbygoogle”
style=”display:block; text-align:center;”
data-ad-layout=”in-article”
data-ad-format=”fluid”
(…)

Didn’t anyone reported the same problem? Seems like a code bug. With two other templates I have everything is working good.

Thanks again.

Regards,
Rui

Simion C.
tagDiv Staff

Hi,

It seems to be somehow specific to block 13, I have made some tests with other blocks in similar layouts and the issue is not happening. But as soon as a block 13 is placed in a three column layout it becomes unresponsive to any action.

I will pass this along to our developer team and they will investigate it as soon as possible. If I can provide you with a quick fix of any kind I will provide it in this topic. You could for the moment use a different block type. Sorry for the inconvenience.

Thanks

Olya
tagDiv Member

Sorry, but I do not understand why we are talking about the registration page. I just need a regular page that will look like an article with pictures and blocks in it. As I understand it, I need to create another template and then use it for the page? Or how?

Viewing 25 results - 19,901 through 19,925 (of 39,816 total)