- NewspaperFlex Block Builder and Flex Loop Builder
- NewspaperHow to use the Flex Blocks cache option
- NewspaperHow to edit modules for Flex Block X
- NewspaperHow to insert a block inside the content of a post
- NewspaperFlex Block Settings Guide
- NewspaperMeta Info on Modules and Blocks
- NewspaperTheme modules and blocks
- TutorialsDefault Block Settings Guide
- NewsmagBlock settings tutorial
- NewsmagCategory tag on modules/blocks
- NewspaperThumbnails – Fix strange looking images on blocks
- NewspaperBlock settings tutorial
- NewspaperCategory Tag on Modules/blocks
- ApiPractical example – How to add a new Block and Module
- Apitd_api_block::delete
- Apitd_api_block::update_key
- Apitd_api_block::update
- Apitd_api_block::add
- ApiAPI – Blocks – Introduction
- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
Hello,
I have written my “own” Module/Block (based on td_block_6 and td_module_6). This is working fine, when I use it as a shortcode, frontend is fine.
But it destroys the whole Visual Composer View, as the composer does not unerstand my newly created module/block/shortcode. I have called it “60” (as its based on your Module 6)
The textual line in the visual composer (classic view) looks like this:
[td_block60 limit=”60″ custom_title=”News Digest” ajax_pagination=”next_prev” installed_post_types=”news” sub_cat_ajax=”n”]
My Question: Where do I have to “register” my new Block/Module with Visual Composer (which File/Registry/Database-Entry or whatever) so that Visual Composer will unterstand my new Module/Block? ( I have searched the plugins\js_composer\config\map.php but this seem to be used not for the blocks/modules but for almost all other elements…)
Thanks very much for Help!
@mehedi… usual way; custom CSS on the element
.block-title {line-height: 28px;background-color:#000000}
Now i see the loops stop,but you have things too fix to get that green lock
The page at ‘https://www.styzic.com/windows-10-start-menu-responsive/977/’ was loaded over HTTPS, but displayed insecure content from ‘http://www.styzic.com/uploads/extras/StyZic-Icon.png’: this content should also be loaded over HTTPS.
(index):52
The page at ‘https://www.styzic.com/windows-10-start-menu-responsive/977/’ was loaded over HTTPS, but displayed insecure content from ‘http://www.styzic.com/uploads/extras/StyZic-Icon.png’: this content should also be loaded over HTTPS.
(index):78
The page at ‘https://www.styzic.com/windows-10-start-menu-responsive/977/’ was loaded over HTTPS, but is submitting data to an insecure location at ‘http://feedburner.google.com/fb/a/mailverify’: this content should also be submitted over HTTPS.
Put this in ur wp-config file on the top after php..
Your server is behind a load balancer or reverse proxy.
Please add the following code to your wp-config.php file, above the require_once:
if (isset($_SERVER[‘HTTP_X_FORWARDED_PROTO’]) && $_SERVER[‘HTTP_X_FORWARDED_PROTO’] == ‘https’)
$_SERVER[‘HTTPS’]=’on’;
and try again,i’m using this code because i’m on CF servers and before that code i had the same problem as you with all the loops to i was lock out of my site..had to go in cpanel and change my urls back to even have access back to my site..
If this don’t work for u then i really don’t know what else too tell you,to set up the SSL with CF is very easy on your end…
Because CloudFlare is a proxy i had to add this too my “wp-config” to fix the Non-SSL Elements i was getting..i guess now mine working you can test for me..
if (isset($_SERVER[‘HTTP_X_FORWARDED_PROTO’]) && $_SERVER[‘HTTP_X_FORWARDED_PROTO’] == ‘https’)
$_SERVER[‘HTTPS’]=’on’;
Chris how about this render blocking warning? 🙁
https://developers.google.com/speed/pagespeed/insights/?url=www.styzic.com
Hi folks
okay… messing with my hobby website magazine, playing with logo etc., but anyway ran into some apparent gremlins in 4.4. Viewing pages in Chrome/Win7-64.
Standard setup; no bizarre plugins, no jetpack, no caching; mod_pagspeed off at the moment; no mega menu.
Issue #1 (personal preference)
on the author, category, archives pages, there are breadcrumbs printing on page under story titles which should not be there and are totally redundant, e.g., here:
http://ga-ga.com/gogaga/movies/
Issue #2:
the category pages, tags, author page don’t appear to pickup the H1 tag settings from theme panel, and also seem to “run into” the breadcrumbs at page top (as above link).
Issue #3:
on post tops with post type “style 2” the top ad banner gets truncated; even adding margin above the full width div for the breadcrumbs.
http://ga-ga.com/1815/book-review-good-title-bad-title-beatles-destroyed-rock/
Issue #4:
How to add a line rule below the top banner ads in general to better separate from the content areas? Could not find a single unique div for the top banner ad, and adding a line rule to the entry-crumbs simply added that to all pages, which didn’t work too well since on the normal categories, the crumbs are not full width and only in left main column. Perhaps even a background color for those pesky ads which Google serves with no borders and just floating on white backing look funky.
Issue #5:
Any way to disable the top banner ad on home page ? Right now on home page when above slider it overlaps the background gradient and with the transparent ads the drop shadow basically runs through the middle of the ad. http://ga-ga.com/
Similarly on the post style with full width photo (style 4), the banner ad doesn’t work with full width image
http://ga-ga.com/1829/book-review-place-hide/
COMMENTS:
Due to the issues with the top ad banner am thinking of just disabling it.
An option to have the ad banner ABOVE the logo would be nice, as I’ve mentioned before. Ideally with option to put a background color on the section, so it doesn’t conflict with the logo on either white or black background layouts. That does not currently appear as an option in the admin panel, unless I’m going blind. 🙂
ONE LAST:
How might I add a background color behind the div for the Google ad box in sidebar, to help “block that in” with the column width? Also useful for when Google serves a narrow tall ad, or a no border on white ad where it looks bizarre in the space.
THANKS!!! Some of that might be nit-picky, but only issues I’m having – otherwise perfect.
Eliminate render-blocking JavaScript and CSS in above-the-fold content
Your page has 6 blocking CSS resources. This causes a delay in rendering your page.
None of the above-the-fold content on your page could be rendered without waiting for the following resources to load. Try to defer or asynchronously load blocking resources, or inline the critical portions of those resources directly in the HTML.
Optimize CSS Delivery of the following:
http://fonts.googleapis.com/…-ext,greek,vietnamese,latin-ext,cyrillic
http://fonts.googleapis.com/…c-ext,greek-ext,greek,latin-ext,cyrillic
http://fonts.googleapis.com/…et=latin,cyrillic-ext,latin-ext,cyrillic
http://fonts.googleapis.com/…swald:400,300,700&subset=latin,latin-ext
http://fonts.googleapis.com/…-ext,greek,vietnamese,latin-ext,cyrillic
http://fonts.googleapis.com/…ily=Vollkorn:400italic,700italic,400,700
How To fix this ?
HI, Bran
and welcome!
You may find it super useful to read through the docs (see link top right of forum); and you can find the various sizes for all the blocks here:
https://forum.tagdiv.com/modules-and-blocks/
Ah, okay. I have AdBlock installed so I didn’t see it… and pausing it doesn’t seem to work, so hopefully someone else comes by to help. The official support folks are away over the weekend.
Again, for option 3, you should use the tool I linked to. Doing it manually or using phpMyAdmin’s interface for querying are both risky for changing URLs in WordPress.
Consider this quote from a post linked from the tool’s site:
“I can’t emphasise enough that it’s important to handle serialised PHP correctly. If you don’t, then settings will go missing, fields will get corrupted, and your site runs a severe chance of not working on the new location. It’s a pain, but it’s important.”
Here you’re not technically moving to a “new location” but changing “http://…” to “https://…” carries the same risk, I believe. Chris can correct me if I’m wrong. 🙂
You can’t use the codes and elements from Newspaper in other themes, as you likely have discovered.
The codes, Visual Composer, etc., included with this theme are designed to work with this theme. Custom Shortcodes built into this theme won’t work with a different theme.
However “standard” blocks which are part of Visual Composer should work in different theme provided you have a licensed copy of Visual Composer…..
Be sure to deactivate the visual composer that came with this theme, delete it, then install the version from your new theme or the version you have purchased.
The class you want is .meta-info. Target more specifically using .home, .post, .category, etc, or within .td_block-wrap or .td_mod_wrap, and so forth.
We have run in to a few issues with the Newspaper theme, I don’t know if it is our fault or if they are bugs.
1. The arrows on the big slide and blocks do not work, even through there are more articles than can be viewed. Also the child categories on the blocks take you to the category page rather than just bringing up content from those categories, like your demo site does.
2. The main nav bar does not stick to the top of the page, even though I set that options in the Theme Panel.
3. Our Facebook fans count does not show up on our site, but it does link to our Facebook page.
Our website is http://www.kstatecollegian.com, hopefully we can get this resolved ASAP. Thank you.
Hi,
Could someone confirm the best way to set the meta-info font used/ size and color underneath the blocks to show date / author & size by css as can’t seem to find where to set it.
It’s current seems to be set to Ubuntu – 12px
meta
Thanks
Hi,
You have to enable this from module files depending on which block you use, like this: http://screencast.com/t/F8BemvkEbmV
You can check here which module are used to build the block: https://forum.tagdiv.com/modules-and-blocks/
Thanks
Hi
On my homepage, i get foir Block 2 my images in double. It is the main image which is also in my article. So when block 2 is displaying on my image i have the image as main image and an image as excerpt. How can i fix this?
Now that work perfect,thx again for the awesome support you give..
Hi,
If the color is set using the block settings panel then it will be added as an inline style so it can’t be overwritten. If you remove that setting you can use css to change the color of it as you like:
Remove the color set from block settings and use this css to change the color back to that color:
.td-grid-wrap .span4 .td_block5 .block-title a {
color:#900000 !important;
}
Should work like it dose for the rss widget which it doesn’t have any inline style added! http://screencast.com/t/LY5tTZCtS
Thanks
Hi,
You can check our demo page, you will notice there that this should not happen, when there are no posts to display anymore the arrow should become opaque and unclickable, like this: http://screencast.com/t/poCedgTNqVX
In your case I also noticed that this happens with blocks also, the arrow point’s that posts are still available but nothing loads: http://screencast.com/t/JGJIhtiHNqf
As there aren’t any errors in your console you might wanna deactivate all plugins, empty cache, purge files if you use nay cache or CDN plugins and check for this again.
Hope this helps!
Thanks
Hi,
You can chose the title style 1 for the block titles then you would have to use less css to get it done as you like: http://screencast.com/t/w8yuWmjp
You can set the color/border/text align and so on.. as you like and adjust it using css, note though that if you set a color for the title from block editing panel you will not be able to overwrite it via css, best is to leave the settings default and add the color via css.
Here is the css I have used for this:
.td_title_style_1 {
color: #000000;
border-bottom: 3px solid #000000 !important;
}
.block-title span {
color: #000000 !important;
font-size: 15px;
font-weight: bold;
text-transform: uppercase;
line-height: 20px;
}
Hope this helps!
Thanks
-
This reply was modified 11 years by
Lucian.
Hi I have my homepage set with “Show only unique articles on this template”
At the end of this page I have a Block 7 inserted with Infinite load pagination, I have noticed however when i click “LOAD MORE” it is showing some duplicates of earlier content on the page.
Please let me know if this is expected or a bug.
Thanks
Hi, can you tell me how I put the author name next to the the date, views and comments in the blocks as I can’t find that feature in theme panel
Thanks
There is one little problem,when i remove the color from the block text,it go back to default color and after i use the code you give me here my block 5 title is not the same color as my widget color “900000” it show the default color black…the hover is working fine on block 5 it’s just the color is not matching the rest of my titles that is 900000 before the hover color…
Hi Lucian,
Finally we got it to work! I found out that it was my fault (sorry!). If someone else came over this,
1. Follow Lucian’s steps.
2. add this:
.menu-item-5290 {
display: none;
}
.td-affix .menu-item-5290 {
display: block;
}
Replace 5290 with your menu item.
Thanks again!