Search Results for 'block'

Results from the Forum
Lastpost
Participant
#0

I saw that you updated the theme again, great job on that.
Would love to know which files are responsible for the lower ram usage, could you name them because I’ve edited a lot of core files in the main theme folder. 🙂

- improvement: dynamic loading of blocks and modules ( ~15% lower ram usage )

Thanks! 😀

Breakwater
Participant
#0

Just FYI – I received an update notice.

Envato Notice of Update: Newmag 1.4 change log

[ V 1.4 ]
– improvement: this version of the theme requires the new tagdiv social counter plugin. You can find it in the /plugins folder
– fix: the [tagDiv] Text with title widget and shortcode. It now works properly with HTML content but please rebuilt the widget and hit save again to see the changes.
– fix: print css background issue
– fix: video title encoding issue on the tagdiv play list (sometimes the title of the video was rendered with strange characters)
– fix: issue with “&” encoding as strange characters in block titles
– fix: pagination issue on categories that don’t have child categories and when the category big grid is disabled
– fix: rich snippets reviews
– fix: missing image for two placeholders
– new: internal api
– improvement: dynamic loading of blocks and modules ( ~15% lower ram usage )
– improvement: video play list is more compatible with different hosts/servers. If your video play list was not downloading the video details, please update the theme.
– improvement: support for overwriting of blocks via child theme and via plugins
– improvement: support for new blocks, headers, modules, smart lists, thumbnail sizes via our plugin api
– improvement: admin panel help text (Template settings panel)
– improvement: when the user disables the post view, the theme will stop keeping track of them in the background -> faster loading time
– improvement: added option to have a border on the text with title widget + page builder block
– improvement: now you can login to post a comment directly from the comment section
– improvement: added in Theme Panel -> Translations: SHARE

Lukas
Participant
#0

Hi all,

It would be really good if the “Quote on blocks” text linked to the article that it is related to. I have seen many websites with similar functionality where the text was always linked to the articled which it belonged to. It also saves the frustration of readers who might think that that is a title to another article 🙂

Is there a way to achieve this?

Thanks,
Lukas

Alin [tagDiv]
tagDiv Staff

Hi,

Theme was designed to not show top menu on mobile view and there is no option for this.
Please use this custom css: http://screencast.com/t/BYx45vKqIg

@media (max-width: 767px){
.td-header-menu-wrap {
display: block;
font-size: 11px;
}
.top-header-menu, .td-header-menu-wrap .menu-post-and-page-settings-container .menu {
margin-left: 0px;
}
.top-header-menu li a, .td-header-menu-wrap .menu-post-and-page-settings-container .menu li a {
padding: 0px 2px 0px 2px;
}
}

Thanks!

Lucian
tagDiv Staff

Hi,

You need to set your block settings like this: http://screencast.com/t/sG7M9Qa7z8e ..and this: http://screencast.com/t/doDvbKEjYCu ..and make sure that you set the block to show an category which has subcategories.

Thanks

Alin [tagDiv]
tagDiv Staff

Hi,

You can enable “Show child categories menu” from block settings like this: http://screencast.com/t/z9CXXNxHdL
This will show a menu at the top of the block that contains the child categories of the selected category.
Result:http://screencast.com/t/mDLQMLJEQb

Thanks!

Lucian
tagDiv Staff

Hi,

You can try to build you sidebar using VC elements and set the td-ss-row class to the row you want to behave as a smart sidebar.
You can find more info about this here: https://forum.tagdiv.com/topic/hitting-a-roadblock-to-achieve-infinite-scrolling-with-smart-sidebar/#post-28972

Thanks

Alin [tagDiv]
tagDiv Staff

Hi,

Please try to use Default Template(without title) and write the title in Text Block like this: http://screencast.com/t/yvP7rolW

Result: http://screencast.com/t/3ewhgIZ0Zsic

Thanks!

Lucian
tagDiv Staff

Hi,

I have also tested this using the latest theme evrsion and haven;t had any issue of this type so you shoiuldn;t experinece this also.
Please try this without any plugins active and also make sure you empty cache as well and make sure the theme actually saves settings. The issue with saving settings usually appears because the server security module blocks the access to admin-ajax.php file. Try to verify if this happens when you save settings in other cases in theme panel and also verify the console for error while saving the settings on the Theme Panel, usually it displays a 403 or 404 error.
Contact your server administrator and explain the situation, as it’s requested many times during the a save the file it’s treated as threat so it’s banned. You can report false positives to your server administrator to remove it from the banned list.
Hope this helps! Please let me know and also provide your site’s URL!

Thanks

Larane
Participant
#0

Hi,

does anybody know how to create “Read more”-Buttons for blocks. I’d like to use it in module 1 and module 4.

Thanks for any help!

Have a nice day,
Carolin

Lucian
tagDiv Staff

Hi,

You can use the page builder on posts then set the 2 columns layout then add your post content using the VC text block element like this: http://screencast.com/t/6xgTi4cMvpS
Also make sure you don’t use a sidebar.
You should get this result: http://screencast.com/t/egDMPwbkuqM
Hope this helps!

Thanks

Breakwater
tagDiv Member

Dumb question <noob>

The theme devs use and !get_field('hide_ad') for hiding ads. Why the !
But the theme user above used and get_field('show_author') for showing author. Why no exclamation point?

Nevermind, found the answer by googling.

“Not ( ! ), Not Equal to ( != ), Not Identical to ( !== )
Used in conditional statements to evaluate as true a FALSE result of an expression or if a value is NOT equal to the second value.”

  • This reply was modified 11 years by Breakwater. Reason: found my own answer
Junaid
Participant
#0

Fatal error: Call to a member function get_map() on a non-object in /home/beansfry/public_html/wp-content/themes/Newsmag/includes/wp_booster/td_global_blocks.php on line 3

Hi
i purchased newsmag to upgrade my site from newspaper to newsmag, after installation i got above error when i live preview my existing website.

I want to upgrade my site asap.

Regards
Junaid
beansfry.com

Lucian
tagDiv Staff

Hi,

1. I have also tested this using your posts content and found the same issue on my local machine and just on firefox.
Noticed that the fonts couldn’t be loaded and this “Cross-Origin Request Blocked” error came up in the browser console: http://screencast.com/t/kq9Tjdy0T
We will continue to make tests and further investigate this so you could try this solution: http://webmasters.stackexchange.com/questions/71630/font-blocked-from-loading-by-cross-origin-resource-sharing-policy-no-access-co
Also noticed that you’ve changed the “ubuntu” font as it’s not loaded: http://screencast.com/t/H7eGKfRFSChk so I’m not sure if this also happens in your case but you could give this a try and let me know.

2. I haven’t noticed this on your page: http://screencast.com/t/HSG9Igto but you can use this css to remove it:

.single_template_6 .td-image-gradient:before {
display: none;
}

Thanks

Emil G
tagDiv Staff

Hi,

1. You have to edit the post template files(depending on the style used loop-single default or 1-5) and add the following code above the title – http://screencast.com/t/JzT8ofAsKpX

render(array('spot_id' => 'custom_ad_1'));?>

Then you need to use custom css to adjust it (add the css inside Theme Panel -> Custom CSS) – http://screencast.com/t/YMdiBRy1

article .td-a-rec-id-custom_ad_1 {
margin-top: 15px;
margin-bottom: 0px;
}

2. Try the following css: – http://screencast.com/t/nb2b9iGqZ0Is

@media(max-width: 767px) {
.header-search-wrap {
display: none;
}
.mobile-logo-wrap img {
right: 0px !important;
left: 0px;
}
}

3. The padding is applied to the entire content – http://screencast.com/t/IgwOnop5
You could try to change the ad container position to relative an move it to the left (0px).

Thank you, Emil G.

Balders
tagDiv Member

Hi Lucian,

I would like to use your code from above to insert next to the event date “. $EM_Event->output(‘#_EVENTDATES’)” the event location #_LOCATIONTOWN in block if post is an event (if ( ‘event’ == get_post_type($this->post->ID) ).

Could you please give me any advice where to put it? Thanks very much!

if ( 'event' == get_post_type($this->post->ID) ) {
$EM_Event = em_get_event($this->post->ID, 'post_id');

$buffy .= '<time itemprop="dateCreated" class="entry-date updated' . $visibility_class . '" datetime="' . date(DATE_W3C, $td_article_date_unix) . '" >' . $EM_Event->output('#_EVENTDATES') . '</time>';
$buffy .= '<meta itemprop="interactionCount" content="UserComments:' . get_comments_number($this->post->ID) . '"/>';
} else {
$buffy .= '<time itemprop="dateCreated" class="entry-date updated' . $visibility_class . '" datetime="' . date(DATE_W3C, $td_article_date_unix) . '" >' . get_the_time(get_option('date_format'), $this->post->ID) . '</time>';
$buffy .= '<meta itemprop="interactionCount" content="UserComments:' . get_comments_number($this->post->ID) . '"/>';
}

Lucian
tagDiv Staff

Hi,

When you add an image the theme automatically creates several thumbs, with fixed dimensions, which are used on modules/blocks/posts..: http://screencast.com/t/j0KBl4IEjt and are called on modules like this: http://screencast.com/t/ZALOh49KO5TB so the same thumb size for a post image should appear at the same dimensions on all module or on for posts with the same template and so on..
Please let me know when I can access you site so I can inspect this.
You can also try regenerating thumbnails: https://forum.tagdiv.com/how-to-fix-strange-thumbnails/

Thanks

Lucian
tagDiv Staff

Hi,

Please try this custom css in theme panel > custom css filed: http://screencast.com/t/cUs1cMtMO7xu

.td_block_wrap .wpb_row {
margin-bottom: 0px;
}
.td_block_wrap .td_mod_wrap {
margin-bottom: 15px !important;
}
.td_block_wrap div[class^="span"] {
margin-bottom: 0px;
}

Hope this helps!

Thanks

Lucian
tagDiv Staff

Hi,

Use this custom css in theme panel > custom css filed: http://screencast.com/t/AbJKTcndVWFn

.td_block_12 .td-read-more {
display: none;
}

Pleas note that this will hide the “read more” button from block 12.

Thanks

Lucian
tagDiv Staff

Hi,

1. Like I said, we will consider this and implement it in future updates.
4. Try it and let me know how it goes, I have also checked this and haven’t found any issues.
5. Use css to change it like this: http://screencast.com/t/8UGA2cYKt60

.meta-info {
font-family: "adobe-caslon-pro";
font-size: 18px;
}

6.1 Please use this custom css: http://screencast.com/t/skCK9Q9h

@media (min-width: 768px) and (max-width: 1023px) {
.vc_wp_text.wpb_content_element.class123{
display: none;
}
}

6.2 Looks good now: http://screencast.com/t/85f4BB4Rl

The smart sidebar should work when using the slider on the same page: http://demo.tagdiv.com/newsmag/homepage-big-slide/
Try to build you sidebar and add this custom class like I suggested here: https://forum.tagdiv.com/topic/hitting-a-roadblock-to-achieve-infinite-scrolling-with-smart-sidebar/#post-28972

Thanks

simchris
tagDiv Member

Likely need to Google how to modify WordPress, as not a theme function, if you want to redirect all author pages to contact page.

For the templates, you would likely need to edit the “author” element in the templates to replace the default link to author template to the contact us page.

So, to hack the theme, you would likely start by looking at the single post template you’re using, then find the block which pulls the author name, and then edit from there.

peyman1365
tagDiv Member

Thanks so much for the quick response. That doesn’t seem to be fixing the issue. We are gonna try to move it to another server so you can access it. But basically featured images either in the big slide or the module 2 blocks have varying widths. Looking at the div class = “thumb-wrap” everything has the right height of 159px but the widths are all different. I’m assuming it’s trying to scale things proportionally hence the fixed height but different widths.Would functions.php be a good starting point?

iManuB
tagDiv Member

Thanks, but I solved it. I had seen what I’ve just written and was enabled.

I’m talking about the topic of Newsmag and not Newspaper (perhaps there is different).

To enable what I needed, I went to the Theme panel —> BLOCK SETTINGS —> CATEGORY TAG ON MODULES / BLOCKS and I enabled everything.

TAG

Now you see!

Thanks anyway.

  • This reply was modified 11 years by iManuB.
Lucian
tagDiv Staff

Hi,

Please try this: http://screencast.com/t/CBBu9Cw0iCi

.td_mod_wrap {
border-bottom: 1px solid #000000 !important;
}

.td_normal_slide .td_mod_wrap, .td_block_big_grid .td_mod_wrap {
border-bottom: 0px solid #000000 !important;
}

Please make sure you use the right code for that weather report and use a text widget to display it to your sidebar first to test it. Adding it like you did into the custom css filed is not right.

Thanks

Lukas
tagDiv Member

And if you create these image blocks, it could be pretty easy making more grid alternatives 🙂

Viewing 25 results - 37,276 through 37,300 (of 39,816 total)