- Apitd_api_single_template::update_key
- Apitd_api_single_template::update
- Apitd_api_single_template::add
- ApiAPI – Single Template – Introduction
- ApiPractical example – How to add a new Block and Module
- ApiAPI – Category top section style – Introduction
- Apitd_api_module::update
- Apitd_api_module::add
- ApiAPI – Modules – Introduction
- Apitd_api_block::update
- Apitd_api_block::add
- ApiAPI – Blocks – Introduction
- ApiUsing the Theme API in plugins
I am trying to customize woocommerce on mobile theme, but not works.
I want to edit woocommerce template with this customization https://drive.google.com/open?id=0BzvCLBh5_Hp4cUpXeDdoUHR6WGc and also i want to add this code to function.php
/*Filter ini untuk mengganti description ke spesifikasi*/
}
add_filter( 'woocommerce_product_tabs', 'woo_rename_tabs', 98 );
function woo_rename_tabs( $tabs ) {
$tabs['description']['title'] = __( 'Spesifikasi' ); // Rename the description tab
return $tabs;
}
/*Filter ini untuk mengganti product description heading menjadi spesifikasi lengkap*/
add_filter('woocommerce_product_description_heading',
'isa_product_description_heading');
function isa_product_description_heading() {
return __('Spesifikasi Lengkap', 'woocommerce');
}
/*Filter ini untuk memonaktifkan fungsi cart*/
add_filter( 'woocommerce_is_purchasable', false );
/*action ini untuk menghapus short description pada single product page*/
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 20);
/*Filter ini untuk membenarkan reviews pada woocommerce karena bentrok dengan disqus comments*/
add_action('the_post', 'sb_remove_woocommerce_disqus');
remove_action('pre_comment_on_post', 'dsq_pre_comment_on_post');
function sb_remove_woocommerce_disqus() {
global $post, $wp_query;
if (get_post_type() == 'product') {
remove_filter('comments_template', 'dsq_comments_template');
}
}
// Display 16 products per page. Goes in functions.php
add_filter( 'loop_shop_per_page', create_function( '$cols', 'return 16;' ), 20 );
I need to add something in the same area as the page title (right aligned)… only on the front page though
http://www.awesomescreenshot.com/image/1442295/bbb5bd97f825311c9b396813ac4383dc
whats the best way of doing this? I’ve copied the template and I’m attempting to add my content, but it isn’t showing up.
Hello team
I have implemented in my initial page the g + 1 and facebook like button as you can see http://www.trebol-apuestas.com/ in the middle of the web. The problem is that W3C is negative these codes you can see here https://validator.nu/?doc=http%3A%2F%2Fwww.trebol-apuestas.com can I do? This initial page is designed with Visual Composer so I have not introduced these codes are bringing your default template.
Help me
Hi,
I have update Newspaper theme to this http://screencast.com/t/NwyPnI6OI and immediately after I started receiving this error when I try to open my homepage “Fatal error: Call to undefined function vc_shortcode_custom_css_has_property() in /home/htechnew/public_html/wp-content/themes/Newspaper/vc_templates/vc_row.php on line 55”
Please help,
Vladimir
Hi,
I tried to make an Upgrade from 7.1.1 to 7.3. But it was a bad idea because after update i found with a lot of issues in practically everything. (then of this i saw myself forced to make a downgrade to 7.1.1 again)
Issues:
- Website logo is disappeared
- Ads sections disappeared from all the site.
- Footer with default configuration. Without any logo
- No favicon
- In the single post page i saw the sidebar in blank
- Read counter in every block of the index enabled. (It was disabled before).
- Default grid configuration in Categories. (i hadn’t had a grid before)
And then, looking for change the template settings, i could see all the fields in blank with “no logo, no favicon, etc”. It seems the upgrade reset all my configuration.
Details of my theme: I have a child theme with a few customizations.
This was caused by a bug?.
Thanks.
-
This reply was modified 10 years by
news_lp_client.
Buenas estoy maquetando el sitio http://ecocuyo.com/2016/, maquete con grid builder los template para cada post, pero no logro hacer que se vean los botones compartir en el home, probe con diferentes plugins y nada. Tienen idea como hacerlo? Gracias.
Hi!
I have a little problem with Visual Composer. I´m trying to reconfigure it and It doesn´t respond to any click, I mean, I can´t add blocks, modify home template and what ever and I can´t see nothing ind the back en editor, it doesn´t show my grid, my block and everthing.
Things I did:
– Uninstall and install the plugin again.
– Create a new page and ttry to setup it from zero and doesn´t work. If I try to add, for example a block or template Home it stay thinking and fater a while dont do nothing.
What can I do?
Hi there,
I purchased Newspaper theme and I am really satisfied. I have some problems so I would like to know if anyone had the same issues. My problems are mainly with images. My website is dzezar.com.
1. I use Big Grid Slide in homepage. The images are shown, but the slider is not working. I set it to 2 seconds and limit 10 posts. Also, I did choose proper category that contains more than 100 posts.
2. Sticky menu is not working.
3. Banner in sidebar is good only in homepage, but in post there is missing photo – photo is not loaded (but the link is working).
4. When I turn on Image loading – animations (LazyLoad) all images from the entire website disappear (from all posts and categories). When I turn it off everything becomes normal.
5. I add new post, and I choose Post template Style 7. No image. You can see that here: http://dzezar.com/skandalozno-turska-sahranjuje-puciste-na-groblju-izdajnika/
Hope that you can help to solve my problems.
Thank you.
Sorry for dummy question.
Newspapaer Theme Documentation:
Page customization
Homepage – the “Mobile Theme” comes with a single predefined page template that includes two section:
top grid – displays 3 featured posts (posts included in the Featured category)
latest articles – displays the latest articles
Where I can “switch on” Top Grid?
In my mobile theme NO top grid…

I’d like to publish some new pages with the same style of the posts.
I used the template standard and the default sidebar and it might be the child one of a main page.
I added as well the featured image.
I can see it in the edit page but I cannot see really, later, on the website. While I’d expect on the top left of the page.
Can you please tell me where I’m doing a mistake?
Thanks in advance
claus
I got this error on the front page after 7.3 update
Fatal error: Call to undefined function vc_shortcode_custom_css_has_property() in /home/content/p3pnexwpnas03_data01/52/2876952/html/wp-content/themes/Newspaper/vc_templates/vc_row.php on line 55
Any help appriciated. Tnx
Hello,
If you require a post template with parralax, you can try post style 7: http://demo.tagdiv.com/newspaper/td-post-lenovo-details-new-computers-that-could-be-heading-our-way-in-2015/ or on pages you can use a homepage post element: http://demo.tagdiv.com/newspaper/homepage-one-top-post/
Thank you!
Hi Catalin,
So If I already have the default demo installed and want to change to the news magazine design instead. Will it affect my existing content?
I tried to add template in page but cannot find it. So if I install demo on a site full of content, select only settings, will it work?
I want to add a popup to all pages of the site with delay, there are several options
Post tag [shortcode]
[pro_ad_display_adzone id=”1237″ ajax_load=”1″ popup=”1″ cookie=”1″ delay=”10″ nobg=”1″ popup_bg=”#7f7f7f”]
Template tag
<?php echo do_shortcode(“[pro_ad_display_adzone id=’1237′ ajax_load=’1′ popup=’1′ cookie=’1′ delay=’10’ nobg=’1′ popup_bg=’#7f7f7f’]”); ?>
Where should i put this code? I tryed putting this into custom code section. But it didn’t worked.
Hi Catalin,
Thanks for your reply. I tried doing what you suggested on my blog page by editing the index.php.. When I check the blog page this code [td_block_big_grid] is at the top above blog page feed. What do you think I am doing wrong?
When I went to Theme panel->Templates settings like you mentioned, I can’t deselect the article display view like it is in your screencast. Right now my article display view is on m2. As for the custom sidebar position I have the right sidebar chosen with default sidebar in place.
Is there a way to be able to customize the look through the blog feed page using the visual editor? I basically want the blog page to look like the front page newspaper look not just the banner.
https://www.dropbox.com/s/0bvfnhlmsrduuww/megamenu_1.jpg?dl=0
https://www.dropbox.com/s/pg4aj78b7ewvrd8/megamenu_2.jpg?dl=0
https://www.dropbox.com/s/bt2ukym89m7b04e/megamenu_3.jpg?dl=0
I used the Newspaper (Health theme) to build a site but the megamenu option seems to be missing in the Appearances > Menus section. Using the demo template, I was able to swap out my categories to make the “Style” menu section which works fine.
For the “Advice” menu section, the page forward/backward icon shows, but there is no content in the mega menu. I cannot figure out how to link my Advice content to this menu item to be visible as a megamenu. I’m not trying to add sub-menus to this. I just want to link to one category (Advice).
When I try adding new Custom Links or Categories to the Main Menu, there is no option for creating a megamenu.
Any suggestions? I’m very new at this. Thanks.
-Fuzz
Hello creativepile,
If you want to customize your Blog page, please notice that you will have to check your Theme panel->Templates settings, like this -> http://screencast.com/t/QDGDAXR0Mw and if you want to add a grid to the top of your Blog page you will have to use the do_shortcode method and add it to the index.php core file like this -> http://screencast.com/t/gfVgHeg43A3 and the result you should see here -> http://screencast.com/t/9pOKFBkt
Hope this helps!
Thanks for your understanding!
Hi,
I have checked your site’s homepage but did not see the issue you mention. You do not have a static page on your site at the moment. The homepage blog simply adds a big grid and a quote on the page content and then you need to populate the rest of the content using the latest articles page template from here: http://screencast.com/t/MZiyXltHpBch
The latest articles page template will add a post loop you can control from the loop settings on the page here:
http://screencast.com/t/xZqMGaQ5kct
This will be the result: http://demo.tagdiv.com/newspaper/homepage-blog/
Thank you!
Love the theme! The website that I am putting together will have a static front page with the blog page being the blog. I am trying to customize the blog page with the visual editor in the page backend but It is not letting me change the look of the blog. Is there any way to make the blog page look like the Category Template 1? I want the blog page to have the newspaper theme front page feel with the same sidebars in the category template 1.
At joshrachlis.today, I installed the “Homepage-Blog” template, which is the basic blog template, and it just puts my last 2 posts at the top, but then there is nothing after it. And in the demo, it shows that there should be all my posts afterward. Is this template just not working? Is there another one that does the same thing?
Hi Catalin,
sorry for complication.
Exactly:
Can we implement Homepage post element to any other category as on front page?
As template of category or as custom code….
I hope now is clear 🙂
Hi,
Unfortunately there is no easy way of getting the latest articles at the top of the content. But since visual composer is a page builder, you can pretty much chose a theme block and name it latest articles and place it at the top of the page (use another page template not the latest articles one) http://screencast.com/t/V5GxC4mN
Thank you!
Hi,
I’m interested if we can add “Homepage post” (style 6) to any other categories page beside Home/Front page or implemented it in Category template as custom display option to bi visible on top of the category as on Home/Front page?
Thanks for help.
Hello Catalin,
Thanks for your reply.
1. By default,in the search result page, side bar displays advertisement and latest articles. I do not want Ads to be displayed in this page’s side bar. I want to customize this. In the Theme Panel->Template settings-> Search Template, there is an option to create a new side bar. Once I give a name and click the “Create” button. It shows the name in the drop down. But how do I add elements to the newly created sidebar? For example, how do I add a “Simple image” element to the side bar?
2. In the “ARTICLE DISPLAY VIEW” I prefer to use M16, but I DO NOT want the response count to be displayed with each result. Is it also possible to display results with M16 style but without the image for each post as there may not be images added to posts?
When I disable “FEATURED IMAGE PLACEHOLDER” in Post Settings, even though none of the posts results have a featured image and image place holder not displayed, the post titles are shifted to the right leaving empty space to the left of the post titles.
Thanks & Regards
Hello, after i made the update 3.1 on newsmag using the automatic updater from Envato Toolkit, the home page from my site is not showing up properly and I can’t choose my home page templates or default templates.
Is someone else facing the same problem, or Am I the only one who use the automatic updater to update this template?
my website is seugame.com