- 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
- Apitd_api_thumb::update_key
- Apitd_api_thumb::update
- Apitd_api_thumb::add
- ApiAPI – Thumbnail – Introduction
- Apitd_api_category_top_posts_style::update_key
- Apitd_api_category_top_posts_style::update
- Apitd_api_category_top_posts_style::add
- ApiAPI – Category top section style – Introduction
- Apitd_api_module::update_key
- Apitd_api_module::update
- Apitd_api_module::add
- ApiAPI – Modules – Introduction
- ApiUsing the Theme API in plugins
- ApiThe Theme API
Hi,
which block did you use. I can’t reproduce it.
Thanks in advance 🙂
Hello,
I try to make several changes on the theme Newspaper.
I chose “category 9” as blog layout.
1 / On the homepage, I would like to replace the title h3 by h2.
What files do I change? In which file is the H3 titles?
2 / On the homepage, I want that the content displayed is different from that of the article. I use excerps, but these are not calibrated to 300 characters.
Yet I set the length of the sample to 300 characters in options, but it does not work.
In summary, on the home page, for each item I want to display the extract and not the content. Problem: extract does not come to 300 characters.
How to extract block 300 characters or 60 words?
Thank you.
Hello,
Is it possible to get module 9 for the homepage with the slider you get on the category pages with module 9? I want this to be the homepage.
It is now not possible because you can only get that slider with the pagebuilder + homepage with article list. The problem with that is that the sidebar is under the pagebuilder content instead of next to it and i can’t use the pagebuilder only because there is no block for module 9.
Thanks in advance.
Hello,
You can make this from CSS. There are 2 logos, one in menu, and one above the menu that is with display:none(hidden)
Hidde the logo from menu and display the logo above the menu(with display:block)
For ad, go to Theme option -> Google adsense and add on phones.
To do the CSS for the logo inspect your site using Firefox or Chrome inspector.
Thanks for the message!
Silly me 🙂 I haven’t noticed… Thank you for your time Marius.
Hello
The blocks work with custom post type to, edit a block and wrote the post type here: http://screencast.com/t/1R3oyWVcjsDc
Thanks for the message!
I have deactivated all the plugins but that didnt help.
Anyone who can see if there is anything wrong with the content in my startpage?:
[vc_row header_color="#00116b" custom_title="Senaste nytt på Alltomtrav.info"][vc_column width="1/1"][td_slide_big limit=”8″ autoplay=”5″ category_id=”10″ autors_id=”1″ hide_title=”hide_title”][/vc_column][/vc_row][vc_row header_color="#00116b"][vc_column width="1/3"][td_block4 category_id=”11″ limit=”1″ header_color=”#aa4700″ ajax_pagination=”next_prev”][td_block4 category_id=”7″ limit=”1″ header_color=”#aa4714″ ajax_pagination=”next_prev”][/vc_column][vc_column width="1/3"][td_block4 category_id=”233″ limit=”1″ header_text_color=”#ffffff” header_color=”#aa4700″][td_block4 category_id=”22″ limit=”1″ header_color=”#aa4714″][/vc_column][vc_column width="1/3"][td_block4 category_id=”23″ limit=”1″ header_color=”#aa4714″][td_block4 category_id=”9″ limit=”1″ header_color=”#aa4714″][/vc_column][/vc_row][vc_row header_color="#000068" custom_title="Övriga travnyheter från Svensk Travmedia"][vc_column width="1/1"][vc_column_text]
[wp_rss_multi_importer category=”6″]
[/vc_column_text][/vc_column][/vc_row]
Hi,
I use few Custom Post Types on my site and I was wondering is it possible to add some of them (maybe even Tags and Custom Taxonomies) in the Content Block Element to show the content on the home page, instead just Post Categories?
Thanks
Hello,
All shortcodes available are in a list when you edit a post. Preview all shortcodes here: http://demo.tagdiv.com/newspaper/blockquotes-pullquotes/
The demo content is different from the demo site because from the site, content is huge, have a lot of posts, categories and you don’t need them. It will be difficult to clean the demo content, you have to delete all the posts, categories, etc. The demo data content is perfectly for a start point.
For more details about how the theme work please read the theme documentation: http://import.tagdiv.com/newspaper/doc/
Thanks for the message!
Hello,
Is not possible, sorry about that, the big slider is build with IOS slider, is not static block.
Thanks for understanding.
Hello,
@davistar
I mean you can exclude a category adding in category filter the cat with minus. If you have a category FOOD with cat 8, if you add in category filter -8 from that block all post from FOOD category will be excluded.
Thanks!
hi guys
thanks for your reply.
But unfortunately it doesn’t help me. i have daily news-updates on the site. so the last 4 news should be shown on the slider and the older news right below the slider. both of them have the same category “news”. therefore i have no possibility to separate the categories.
thanks
alex
hello,
on the slider add this: http://screencast.com/t/5ZJTSQRsi
on the block , add this: http://screencast.com/t/WOfJhbKq6pw
Thanks for you message.
Radu A.
hello,
I’m not sure if this is working but you can try this:
http://screencast.com/t/kcxkHhWS
Thanks for you message.
Radu A.
Hello,
so if the featured category has the id 86, you have to add 86-4 to the filtering option? Didn’t work for me.
Thank you! it works great, but i have another question:
what do i have to put there in order to shot the principal category too?
I tried with
$buffy .= $this->get_category();
but it doesn’t work…
thank you!
Lucio
Hi, I am trying to have my site display as the blog example in the demo. Meaning 1 row of thumbnails post with the description on the right and the “Read More” button at the bottom. Somehow I can’t see how to create this with the building blocks but maybe I overlooked something. Can anyone tell me how to? Thanks in advance!
Hello,
Is not possible, what you can do is to use the slider to show there Featured articles and in block 3 add in category filter to exclude the Featured posts(this is to prevent duplicated articles between slider and block 3), add the cat id with minus (ex -4) of the Featured category.
Thanks for the message!
Hi,
my frontpage is built with visual composer.
first row -> slider (with the latest 4 posts)
second row -> block 3 (sort order: latest posts)
Problem: slider already shows the latest posts and block 3 shows them again. is there a possibility to let block 3 start with the 4th post?
i am more or less familiar with coding but i can’t find the right .php where i can edit the sort-order (starting point)
thanks and best regards,
alex
Pagespeed mod test update: settings 0.4
Google Pagespeed 93/100 on main GPS Insight
page: http://ga-ga.com/1262/fiction-area-code-666-part-18-del-arton/
– google adsense – no ads for test
– addthis plugin replace social media buttons with single button ‘on’
– gravatar loaded dynamic over network for author box
todo:
1) load author image locally either with plugin, or add field to functions.php to add new user datafield, then call user meta for the field instead of gravatar code.
2) reduce server response time — typical is 0.32 seconds (320msec) up to 4 seconds; but Google now saying <200msec is the “ideal” — not sure tradeoff on optimizations for everything else; but I did see a post the other day about server tweaks to speed up “first byte” load of WordPress pages to deal with that so called “error.” Solving this would negate the penalize from Google AdSense being on.
3) super annoying “reder blocking” CSS almost “quashed” and ironically the error is from mod_pagespeed trying to fix:
Optimize CSS Delivery of the following:http://ga-ga.com/…ootstrap.css.pagespeed.cf.n0P3fhMJJz.css
http://ga-ga.com/…/A.style.css.pagespeed.cf.JAYrGYtjNo.css
– so in typical GPS fashion, one Google product complains about another Google product which is designed to fix the complaint in first place (ARGH!). This one will take some playing around with the “filters” which is where I got stuck this past weekend.
Hope this is entertaining somebody 🙂
and I forgot to mention here is the code I’m using in my htaccess file for mod_pagespeed testing, in addition to CoreFilters being on from the main .conf file at server level, eventually this would be a <directory> directive in the .conf and not in htaccess for better optimization.
<IfModule pagespeed_module>
ModPagespeed on
ModPagespeedEnableFilters collapse_whitespace
ModPagespeedEnableFilters move_css_to_head
ModPagespeedEnableFilters combine_css
ModPagespeedEnableFilters remove_comments
ModPagespeedEnableFilters rewrite_images
ModPagespeedEnableFilters insert_dns_prefetch
</IfModule>
CHANGE to my prior htaccess code for expire headers to solve one javascript file for comments in the core wp code:
AddType text/javascript .js
# BEGIN Expire headers
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 5 seconds"
ExpiresByType image/x-icon "access plus 2500000 seconds"
ExpiresByType image/jpeg "access plus 2500000 seconds"
ExpiresByType image/png "access plus 2500000 seconds"
ExpiresByType image/gif "access plus 2500000 seconds"
ExpiresByType application/x-shockwave-flash "access plus 2500000 seconds"
ExpiresByType text/css "access plus 700000 seconds"
ExpiresByType text/javascript "access plus 700000 seconds"
ExpiresByType application/javascript "access plus 700000 seconds"
ExpiresByType application/x-javascript "access plus 700000 seconds"
ExpiresByType text/html "access plus 600 seconds"
ExpiresByType application/xhtml+xml "access plus 600 seconds"
</IfModule>
I also added these to the end of the htaccess after the cache control headers, to solve the ETag problem and also the damn spammers hitting my ping script.
<IfModule mod_headers.c>
Header unset ETag
</IfModule>
<IfModule mod_alias.c>
RedirectMatch 403 /xmlrpc.php
</IfModule>
AS EVER: do not make changes to any of your files/settings unless you have backups done.
THis is all experimental at this point; when I have a solid Apache-friendly setup, I will share all the settings in all the files for those interested in this discussion. 🙂
Cheers,
Christopher Simmons
member: PRSA, ASCAP
CEO, Neotrope®
Torrance, CA, USA
(please don’t call me asking for help on anything at this point in time; I will resume my consulting biz once I have my own ducks back in a row, as it were!)
-
This reply was modified 12 years by
simchris.
i think is stupid to size mai area to 700px.
best performance ads by google and other advertiser are 728 large..
why you blocked to 700? (@media 1200)
i’m spending a lot of time trying to resize main area to 728 but without results..
can you help me? it’s possible to reduce space between main area and sidebar.. how to?
it’s very important, i can pay you for th trick. please help
Hi, Zeus
you can put the expiration and such at bottom; at least that’s what I do 🙂
I usually have my
Redirect 301s at top
then the
# WORDPRESS block for permalinks
then the expiration stuff.
Chris
Hello,
As you can see here Block 2 use module 5 and module 2 http://screencast.com/t/uwL6EiIe
Edit module_5 http://screencast.com/t/i0pVyZt88dT
Thanks for the message!
Hello,
i want to show the author name in the “block2” module (i have this module in the homepage), as here http://awesomescreenshot.com/06827eq658
which part of the code have i to modify?
thank you!
Lucio
I’ve edited block 2 and selected Infinite load, but it doesn’t work. I still see the Next button. What should I do?