Search Results for 'block'

Results from the Forum
nihar105479
tagDiv Member

while using Cloud flare my mobile menu and sliders are not working without them my page speed sucks.I dont know what to do now.

http://mavcure.com/

samratreddy
Participant
#0

Hi Team,
I have got some Taxonomies in my theme and I was able to display them on single post pages by editing the single-loop file.
How do I display them on the home page? I’m using a mix of different blocks on the home page.
Also where do I find the code related to the post settings like Source name, Source url etc. I want to edit/add new fields and use them both on Single posts as well as on the home page.

Just pointing me to the files names is good enough and any help above that would be much appreciated 🙂

Thanks in adv.

Sam.

Lucian
tagDiv Staff

Hi,

There is no block which displays posts without a thumb image.
You can hide the images though via css if you like or you can add posts without featured image if you don’t want to have images on block.
Here is an example, just the title and meta info http://screencast.com/t/o9xYzX3dbf

Thanks

Lucian
tagDiv Staff

Hi,

You can change the theme’s accent color if you like, it will change that blue used on blocks/widgets/slides/pagination… it will change the social counters buttons color as well.
I have pointed some in this screenshot: http://screencast.com/t/rfsasBf9GHJs
Changing the theme’s accent color won’t affect the category tags.
Have a look in Theme Panel you also have there the custom typography where you can change the font color as you like http://screencast.com/t/TP6sojnzWB2y

Thanks

Joe Jerde
tagDiv Member

Hello, how do we make disqus comment number reflect on the author widget block?

vdifortuna
Participant
#0

Hi!
why when I add a new block, the widget sidebar block (to compose a new homepage) this sidebar is smaller than the default sidebar?

for example if I choose a “Homepage with article list” with left sidebar and module 8
and in the top I want to compouse and add one more sidebar block with other blocks, this sidebar is smaller than the sidebar of the “homepage with article list”
how can I fix it? I want to have the same wide sidebar like the “homepage with article list”

thanks!
(and sorry about my english)

Lucian
tagDiv Staff

Hi,

Please add this custom css in Theme Panel >custom CSS:

.td_block_wrap .block-title a, .block-title span, .block-title label {
position: relative;
top: 1px;
}

Thanks

Lucian
tagDiv Staff

Hi,

In td_module_6.php file move the <?php echo $this->get_category(); ?> line and add this class ' . 'class="custom_category" like here: http://screencast.com/t/xxqdUyITv

After doing that please add this custom CSS in Theme Panel > Custom CSS:

.custom_category{
line-height: 15px;
display: inline-block;
padding: 2px 8px 3px 8px;
margin-bottom: 4px;
color: white;
background-color: #c85bcd;
font-size: 12px;
}

Change the font/background/color.. as you like.

Regarding the category it’s not an easy task to do, you can hire an freelancer if you want to have something like that as we can’t offer custom work.
Hope this helps!

Thanks

simchris
tagDiv Member

Basically Google can tell your site is responsive due to the @media queries in the .css stylesheet which has different “break points” for desktop, tablet, and phones.

I did read somewhere that “some” sites were getting penalized for blocking access to your theme folder and so Google couldn’t reads style sheet, but if you see the little picture on Google PageSpeed Insights and your page looks normal, that is a non issue.

R Renard
tagDiv Member

BTW for those who might have the same problem – found a work around which seems to work…

Instead of using ‘Single image’ use text block instead, and from the bar click on ‘add media’ This shows the captions and also makes modal work too.

Fingers crossed the next update to VC doesn’t stop this working

Pjump
Participant
#0

Hi,
I was searching and it seems that there’s no block that show online the titles and date of the post’s without the feature image, like this:

There’s any way I could do that?

Thanks

Radu A
tagDiv Member

hi,
I have already answer to this question, to your other thread.

Thanks for you message.
Radu A.

Lucian
tagDiv Staff

Hi,

1. Can you please send a screenshot with the social buttons you want to change. Are you referring at this buttons http://screencast.com/t/mB2j0AX6 or this: http://screencast.com/t/ktLR6AAzB

2. For “Similar article” you can use this CSS:

.similar-articles .block-title span { 
background-color: #fff;
color: black;
}

.similar-articles .block-title {
 border-color: white;
}

3. For the continue button use this:

.td_read_more {
background: #fff !important;
}

.td_read_more a {
color: black !important;
}

Hope this helps!
Thanks

Lucian
tagDiv Staff

Hi,

Unfortunately the theme wasn’t build like this, it only works when you’re using a single category filter form the dropdown, it doesn’t work with multiple categories IDs, this can be achieved only with custom work.
You can find the function here http://screencast.com/t/ghlYhIo20hiR if you want to change the code to show child menu for all categories.

Thanks

Lucian
tagDiv Staff

Hi,

All posts have a big image created when the image is uploaded, you can have a better control of what posts appear in the slide if you filter the posts that appear in the slide by tag like this: http://screencast.com/t/x9BnrnUjzf
Unfortunately you can’t block an image not to be shown in the slider.
Hope this helps!

Thanks for the message

Lucian
tagDiv Staff

Hi,

1. As you can see this option is available when using the child categories menu http://screencast.com/t/aP2r1ooiNyv
And will use/or not use ajax when switching between the child categories http://screencast.com/t/rdhnivSCK

2. We had this problem in the past and it was due to permalink or some plugins, as you have already saved your permalink please try disabling the plugins and see if this issue is from a plugin.
If it’s not and you can’t find a solution you can give us wp-access so we can take a look, send an e-mail with your user and pass at contact@tagdiv.com along with an URL to this topic.

Thanks

Lucian
tagDiv Staff

Hi,

If you are referring to this titles http://screencast.com/t/mTOy6Pzo5E you can change them by editing the page and then the block like this:

1 http://screencast.com/t/yprPB4uQG
2 http://screencast.com/t/DAsUAMpK

Hope this helps!
Thanks

london789
Participant
#0

I am using a 4 column page, each column has a Block 3 inside (also looking at using some Block 8).

I want the thumbnails to be taller than they are wide. At the moment they are 232px wide and 113px high. I want them to be closer to 290px high. I saw the post about going into functions.php ( http://screencast.com/t/NxiuYIwql9h ) but I can’t see the 232 x 113 size there to change.

I would also like control of the headline type size and also the excerpt size in Block 8.

Thanks!

Steven
tagDiv Member

My .htaccess file on my site…WARNING DON’T USED MINE ARE IT WILL BREAK UR SITE..MINE IS LIKE THIS BECAUSE OF OTHER THINGS THAT I HAVE DONE ON MY SITE for safty…

# BEGIN All In One WP Security
#AIOWPS_BLOCK_WP_FILE_ACCESS_START
<Files license.txt>
order allow,deny
deny from all
</files>
<Files wp-config-sample.php>
order allow,deny
deny from all
</Files>
<Files readme.html>
order allow,deny
deny from all
</Files>
#AIOWPS_BLOCK_WP_FILE_ACCESS_END
#AIOWPS_BASIC_HTACCESS_RULES_START
<Files .htaccess>
order allow,deny
deny from all
</Files>
ServerSignature Off
LimitRequestBody 10240000
<Files wp-config.php>
order allow,deny
deny from all
</Files>
#AIOWPS_BASIC_HTACCESS_RULES_END
#AIOWPS_PINGBACK_HTACCESS_RULES_START
<IfModule mod_alias.c>
RedirectMatch 403 /(.*)/xmlrpc\.php$
</IfModule>
#AIOWPS_PINGBACK_HTACCESS_RULES_END
#AIOWPS_DISABLE_INDEX_VIEWS_START
Options -Indexes
#AIOWPS_DISABLE_INDEX_VIEWS_END
#AIOWPS_DISABLE_TRACE_TRACK_START
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* – [F]
#AIOWPS_DISABLE_TRACE_TRACK_END
#AIOWPS_FORBID_PROXY_COMMENTS_START
RewriteCond %{REQUEST_METHOD} =POST
RewriteCond %{HTTP:VIA}%{HTTP:FORWARDED}%{HTTP:USERAGENT_VIA}%{HTTP:X_FORWARDED_FOR}%{HTTP:PROXY_CONNECTION} !^$ [OR]
RewriteCond %{HTTP:XPROXY_CONNECTION}%{HTTP:HTTP_PC_REMOTE_ADDR}%{HTTP:HTTP_CLIENT_IP} !^$
RewriteCond %{REQUEST_URI} !^/(wp-login.php|wp-admin/|wp-content/plugins/|wp-includes/).* [NC]
RewriteRule .* – [F,NS,L]
#AIOWPS_FORBID_PROXY_COMMENTS_END
#AIOWPS_FIVE_G_BLACKLIST_START
# 5G BLACKLIST/FIREWALL (2013)
# @ http://perishablepress.com/5g-blacklist-2013/

# 5G:[QUERY STRINGS]
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{QUERY_STRING} (\”|%22).*(<|>|%3) [NC,OR]
RewriteCond %{QUERY_STRING} (javascript:).*(\;) [NC,OR]
RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3) [NC,OR]
RewriteCond %{QUERY_STRING} (\\|\.\./|`|=’$|=%27$) [NC,OR]
RewriteCond %{QUERY_STRING} (\;|’|\”|%22).*(union|select|insert|drop|update|md5|benchmark|or|and|if) [NC,OR]
RewriteCond %{QUERY_STRING} (base64_encode|localhost|mosconfig) [NC,OR]
RewriteCond %{QUERY_STRING} (boot\.ini|echo.*kae|etc/passwd) [NC,OR]
RewriteCond %{QUERY_STRING} (GLOBALS|REQUEST)(=|\[|%) [NC]
RewriteRule .* – [F]
</IfModule>

# 5G:[USER AGENTS]
<IfModule mod_setenvif.c>
# SetEnvIfNoCase User-Agent ^$ keep_out
SetEnvIfNoCase User-Agent (binlar|casper|cmsworldmap|comodo|diavol|dotbot|feedfinder|flicky|ia_archiver|jakarta|kmccrew|nutch|planetwork|purebot|pycurl|skygrid|sucker|turnit|vikspider|zmeu) keep_out
<limit GET POST PUT>
Order Allow,Deny
Allow from all
Deny from env=keep_out
</limit>
</IfModule>

# 5G:[REQUEST STRINGS]
<IfModule mod_alias.c>
RedirectMatch 403 (https?|ftp|php)\://
RedirectMatch 403 /(https?|ima|ucp)/
RedirectMatch 403 /(Permanent|Better)$
RedirectMatch 403 (\=\\\’|\=\\%27|/\\\’/?|\)\.css\()$
RedirectMatch 403 (\,|\)\+|/\,/|\{0\}|\(/\(|\.\.\.|\+\+\+|\||\\\”\\\”)
RedirectMatch 403 \.(cgi|asp|aspx|cfg|dll|exe|jsp|mdb|sql|ini|rar)$
RedirectMatch 403 /(contac|fpw|install|pingserver|register)\.php$
RedirectMatch 403 (base64|crossdomain|localhost|wwwroot|e107\_)
RedirectMatch 403 (eval\(|\_vti\_|\(null\)|echo.*kae|config\.xml)
RedirectMatch 403 \.well\-known/host\-meta
RedirectMatch 403 /function\.array\-rand
RedirectMatch 403 \)\;\$\(this\)\.html\(
RedirectMatch 403 proc/self/environ
RedirectMatch 403 msnbot\.htm\)\.\_
RedirectMatch 403 /ref\.outcontrol
RedirectMatch 403 com\_cropimage
RedirectMatch 403 indonesia\.htm
RedirectMatch 403 \{\$itemURL\}
RedirectMatch 403 function\(\)
RedirectMatch 403 labels\.rdf
RedirectMatch 403 /playing.php
RedirectMatch 403 muieblackcat
</IfModule>

# 5G:[REQUEST METHOD]
<ifModule mod_rewrite.c>
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* – [F]
</IfModule>
#AIOWPS_FIVE_G_BLACKLIST_END
#AIOWPS_PREVENT_IMAGE_HOTLINKS_START
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} \.(gif|jpe?g?|png)$ [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://jahliveradio\.com [NC]
RewriteRule \.(gif|jpe?g?|png)$ – [F,NC,L]
</IfModule>
#AIOWPS_PREVENT_IMAGE_HOTLINKS_END
# END All In One WP Security

# BEGIN NinjaFirewall (WP+)
<IfModule !mod_php5.c>
<IfModule mod_env.c>
SetEnv PHPRC /home/hxnlfcaw/public_html/.user.ini
</IfModule>
</IfModule>
# END NinjaFirewall (WP+)

# BEGIN HTML5 Boilerplate
# This contains the HTML5 Boilerplate .htaccess that can be found at:
# github.com/h5bp/html5-boilerplate/blob/master/.htaccess
#
# Added:
# Block access to access to WordPress files that reveal version information.
#
# Commented out by default:
# Expires headers: Use WP Super Cache or W3 Total Cache (unless using the H5BP build script)
# ETag removal: Use WP Super Cache or W3 Total Cache (unless using the H5BP build script)
# Start rewrite engine: Handled by WordPress
# Suppress/force www: Handled by WordPress
# Custom 404 page: Handled by WordPress
#
# Anytime you update this file the .htaccess file in the root of your
# WordPress install is automatically updated with the changes whenever
# the permalinks are flushed or set
#
# ———————————————————————-
# Better website experience for IE users
# ———————————————————————-
# Force the latest IE version, in various cases when it may fall back to IE7 mode
# github.com/rails/rails/commit/123eb25
# Use ChromeFrame if it’s installed for a better experience for the poor IE folk
<IfModule mod_headers.c>
Header set X-UA-Compatible “IE=edge”
# mod_headers can’t match by content-type, but we don’t want to send this header on *everything*…
<FilesMatch “\.(appcache|crx|css|eot|gif|htc|ico|jpe?g|js|m4a|m4v|manifest|mp4|oex|oga|ogg|ogv|otf|pdf|png|safariextz|svg|svgz|ttf|vcf|webapp|webm|webp|woff|xml|xpi)$”>
Header unset X-UA-Compatible
</FilesMatch>
</IfModule>
# ———————————————————————-
# CORS-enabled images (@crossorigin)
# ———————————————————————-
# Send CORS headers if browsers request them; enabled by default for images.
# developer.mozilla.org/en/CORS_Enabled_Image
# blog.chromium.org/2011/07/using-cross-domain-images-in-webgl-and.html
# hacks.mozilla.org/2011/11/using-cors-to-load-webgl-textures-from-cross-domain-images/
# wiki.mozilla.org/Security/Reviews/crossoriginAttribute
<IfModule mod_setenvif.c>
<IfModule mod_headers.c>
# mod_headers, y u no match by Content-Type?!
<FilesMatch “\.(gif|png|jpe?g|svg|svgz|ico|webp)$”>
SetEnvIf Origin “:” IS_CORS
Header set Access-Control-Allow-Origin “*” env=IS_CORS
</FilesMatch>
</IfModule>
</IfModule>
# ———————————————————————-
# Webfont access
# ———————————————————————-
# Allow access from all domains for webfonts.
# Alternatively you could only whitelist your
# subdomains like “subdomain.example.com”.
<IfModule mod_headers.c>
<FilesMatch “\.(eot|font.css|otf|ttc|ttf|woff)$”>
Header set Access-Control-Allow-Origin “*”
</FilesMatch>
</IfModule>
# ———————————————————————-
# Proper MIME type for all files
# ———————————————————————-
<IfModule mod_mime.c>
# JavaScript
# Normalize to standard type (it’s sniffed in IE anyways)
# tools.ietf.org/html/rfc4329
AddType application/javascript js jsonp
AddType application/json json
# Audio
AddType audio/ogg oga ogg
AddType audio/mp4 m4a f4a f4b
# Video
AddType video/ogg ogv
AddType video/mp4 mp4 m4v f4v f4p
AddType video/webm webm
AddType video/x-flv flv
# SVG
# Required for svg webfonts on iPad
# twitter.com/FontSquirrel/status/14855840545
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
# Webfonts
AddType application/vnd.ms-fontobject eot
AddType application/x-font-ttf ttf ttc
AddType font/opentype otf
AddType application/x-font-woff woff
# Assorted types
AddType application/octet-stream safariextz
AddType application/x-chrome-extension crx
AddType application/x-opera-extension oex
AddType application/x-shockwave-flash swf
AddType application/x-web-app-manifest+json webapp
AddType application/x-xpinstall xpi
AddType application/xml atom rdf rss xml
AddType image/webp webp
AddType image/x-icon ico
AddType text/cache-manifest appcache manifest
AddType text/vtt vtt
AddType text/x-component htc
AddType text/x-vcard vcf
</IfModule>
# ———————————————————————-
# Gzip compression
# ———————————————————————-
<IfModule mod_deflate.c>
# Force compression for mangled headers.
# http://developer.yahoo.com/blogs/ydn/posts/2010/12/pushing-beyond-gzipping
<IfModule mod_setenvif.c>
<IfModule mod_headers.c>
SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding
RequestHeader append Accept-Encoding “gzip,deflate” env=HAVE_Accept-Encoding
</IfModule>
</IfModule>
# Compress all output labeled with one of the following MIME-types
# (for Apache versions below 2.3.7, you don’t need to enable mod_filter
# and can remove the <IfModule mod_filter.c> and </IfModule> lines
# as AddOutputFilterByType is still in the core directives).
<IfModule mod_filter.c>
AddOutputFilterByType DEFLATE application/atom+xml \
AddOutputFilterByType DEFLATE application/javascript \
AddOutputFilterByType DEFLATE application/json \
AddOutputFilterByType DEFLATE application/rss+xml \
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject \
AddOutputFilterByType DEFLATE application/x-font-ttf \
AddOutputFilterByType DEFLATE application/x-web-app-manifest+json \
AddOutputFilterByType DEFLATE application/xhtml+xml \
AddOutputFilterByType DEFLATE application/xml \
AddOutputFilterByType DEFLATE font/opentype \
AddOutputFilterByType DEFLATE image/svg+xml \
AddOutputFilterByType DEFLATE image/x-icon \
AddOutputFilterByType DEFLATE text/css \
AddOutputFilterByType DEFLATE text/html \
AddOutputFilterByType DEFLATE text/plain \
AddOutputFilterByType DEFLATE text/x-component \
AddOutputFilterByType DEFLATE text/xml
</IfModule>
</IfModule>
# ———————————————————————-
# UTF-8 encoding
# ———————————————————————-
# Use UTF-8 encoding for anything served text/plain or text/html
AddDefaultCharset utf-8
# Force UTF-8 for a number of file formats
<IfModule mod_mime.c>
AddCharset utf-8 .atom .css .js .json .rss .vtt .webapp .xml
</IfModule>
# ———————————————————————-
# A little more security
# ———————————————————————-
# “-Indexes” will have Apache block users from browsing folders without a default document
# Usually you should leave this activated, because you shouldn’t allow everybody to surf through
# every folder on your server (which includes rather private places like CMS system folders).
<IfModule mod_autoindex.c>
Options -Indexes
</IfModule>
# Block access to backup and source files
# This files may be left by some text/html editors and
# pose a great security danger, when someone can access them
<FilesMatch “(\.(bak|config|sql|fla|psd|ini|log|sh|inc|swp|dist)|~)$”>
Order allow,deny
Deny from all
Satisfy All
</FilesMatch>
# Block access to WordPress files that reveal version information.
<FilesMatch “^(wp-config\.php|readme\.html|license\.txt)”>
Order allow,deny
Deny from all
Satisfy All
</FilesMatch>
# END HTML5 Boilerplate
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

# Leverage Browser Caching Ninja — Starts here
# Do not write anything between “Leverage Browser Caching Ninja — Starts” and “Leverage Browser Caching Ninja — Ends”
# It will be deleted while uninstalling Leverage Browser Caching Ninja plugin
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault “access plus 1 month”
ExpiresByType image/x-icon “access plus 1 year”
ExpiresByType image/gif “access plus 1 month”
ExpiresByType image/png “access plus 1 month”
ExpiresByType image/jpg “access plus 1 month”
ExpiresByType image/jpeg “access plus 1 month”
ExpiresByType text/css “access 1 month”
ExpiresByType application/javascript “access plus 1 year”
</IfModule>
# Leverage Browser Caching Ninja — Ends here

techsportz
Participant
#0

I’ve used Newspaper theme for http://www.techsportz.com . Along with logo in header, I tried putting adblock (though Adsense). It was coming out to be dispositioned. Actually half of it was going under Main Menu bar. Please suggest what to do.

The same was happening with Logo, but there’a an option to adjust the positioning of logo. So I’ve set that to -10px and issue was resolved. Is there any such similar solution for Adblock positioning ?

london789
Participant
#0

I want to make the following text black on white, not white on accent colour as is currently the default:

1. Social Counter ‘Like’ and ‘Follow’ buttons etc.
(I found this code but can’t seem to get it to work: .td_social_type, .td_social_button a )
2.’Similar Articles’ Title
(I got the border to change to white by using this but no joy on the text: .block-title { border-color: white; }

Thanks

mboydnv
tagDiv Member

Thank you. But why is there a new Mobile Logo upload in 4.0.2, wont the 300×100 and 600×200 be enough? Do i reference those files for the mobile logo?

Now if we can figure out what is causing the logo troubles (being blocked) on the iphone all will be grand. =)

virtualida
tagDiv Member

Point taken – I can see if my question was not clear but all you need to do is ask 🙂 I’ll try to be clearer in the future!

anyway,
I am still not sure I am getting the right results –

* I have several categories under the root
* I have one category with subcategories – crowdfunding (has 2 subs)

If I point to crowdfunding & set Show child categories menu to “Show all” – I get the sub menu OK!

I wanted to get the same sub menu for the categories under the root (like they are sub categories) – but if I select in “Category filter:” “- All categories -” and also set Show child categories menu to “Show all” – I don’t get a child category menu.

(hope my desired outcome is clear now…)

can I make this happen?
does this require code change?

Calimero
tagDiv Member

Thank you, hopefully soon. Another question. In the home, place in large, you can blocare the big picture and slide the photos only more ‘small, there is a solution. In practice, at this time in the main slides I gave it a category, and then when I insert the new scorrosno. I would like to block only the big slide and updates those most ‘children. See immagile …

http://www.cataniaoggi.com/_/wp-content/uploads/2014/08/immage.jpg

Radu A
tagDiv Member

hi,
did not know to what subcategories you are referring:

here is how you do it:

on your page add a block, the filter the block like:

http://screencast.com/t/Ewc3VZmoP , and http://screencast.com/t/vb00TXd4enf .

result : http://screencast.com/t/EfUfriipK9.

next time please provide a print screen, will help understand better

Thanks for you message.
Radu A.

Viewing 25 results - 38,501 through 38,525 (of 39,816 total)