- Apitd_api_header_style::delete
- Apitd_api_header_style::update_key
- Apitd_api_header_style::update
- Apitd_api_header_style::add
- ApiAPI – Header style – Introduction
- Apitd_api_top_bar_template::update_key
- Apitd_api_top_bar_template::update
- Apitd_api_top_bar_template::add
- ApiAPI – Top Bar Template – Introduction
- Apitd_api_single_template::update_key
- Apitd_api_single_template::update
- Apitd_api_single_template::add
- ApiAPI – Single Template – Introduction
- Apitd_api_footer_template::update_key
- Apitd_api_footer_template::update
- Apitd_api_footer_template::add
- ApiAPI – Footer Template – Introduction
- Apitd_api_smart_list::update_key
- Apitd_api_smart_list::update
- Apitd_api_smart_list::add
Hello,
i’ve made here some tests – add this at the end of your functions.php and use the [td_sape] shortcode where you want to output the links. (It can be used in sidebar text block and in text block in pagebuilder)
function td_sape_header() {
if (!class_exists(SAPE_client)) {
if (!defined('_SAPE_USER')){
define('_SAPE_USER', '***********myID***********');
}
require_once(realpath($_SERVER['DOCUMENT_ROOT'].'/'._SAPE_USER.'/sape.php'));
$sape = new SAPE_client();
}
}
function td_sape($atts, $content = null) {
add_action('wp_head', 'td_sape_header');
global $sape;
return $sape->return_links();
}
add_shortcode('td_sape', 'td_sape');
So I’ve commented //get_template_part(‘parts/header/menu_header’);
How do I reduce the space between the logo and the first items in the page?
I’m using ‘Ads by datafeedr.com’ plugin (http://wordpress.org/plugins/ads-by-datafeedrcom) to manage my banners (create groups, start and finish date, etc).
It’s easy to use it in any ‘Text’ widget just using the provides shortcode for a specific group.
SHORTCODE example:
[dfads params=’groups=352&orderby=random’]
The pluigns offers also que option to inser as PHP… The same example:
<?php echo dfads( ‘groups=352&orderby=random’ ); ?>
However I’m trying to use it on the Ad Spot area of Newspaper theme but I can’t do it. I tried these ways to do it:
-In the custom left menu. Select ‘Newspaper: Ads’ and into Header ad, select ‘Text and spot’ and fill the ‘Top ad spot code:’ with the SHORTCODE.
-In the custom left menu. Select ‘Newspaper: Ads’ and into Header ad, select ‘Text and spot’ and fill the ‘Top ad spot code:’ with the PHP CODE.
-In Theme Options > Ads, create a new space of 728px and put in the ‘Desktop(1200px +):’ the SHORTCODE. Then in the Custom screen > ‘Newspaper: Ads’ select into the ‘Top ad spot’ combo the new 728px ad created with the Shortcode.
-In Theme Options > Ads, create a new space of 728px and put in the ‘Desktop(1200px +):’ the PHP CODE. Then in the Custom screen > ‘Newspaper: Ads’ select into the ‘Top ad spot’ combo the new 728px ad created with the PHPCode.
In none of these cases I got the banners… Any ideas of what can I do to use these spaces as a widget and insert my shortcode/php?
Thanks!!
thanks @papeldeperiodico
Hi Daniela,
I see your point. Now I have a category which I can change the layout but I cannot link the category http://www.screencast.com/t/2WBOhKTaBJTy with the page on the header menu http://www.screencast.com/t/C1xx5dQy.
I just want to create a layout like yours: http://demo.tagdiv.com/newspaper/category/module-8-category/
Sorry if I miss out the obvious.
Thanks & best regards.
Hello,
The default font for the content is PT Sans.
For titles and for headers we use Roboto Condenses.
It works. Thank you very much for all your support 🙂 You’re great!
Hello,
Copy this code in functions.php
function wpshock_search_filter( $query ) {
if ( $query->is_search ) {
$query->set( ‘post_status’, array(‘publish’) );
}
return $query;
}
add_filter(‘pre_get_posts’,’wpshock_search_filter’);
For example. If you search ‘salud’ (without ‘) it will appear the article which have to be published next monday (14th october). The problem is that in the search form appear like results articles that aren’t published yet. (sorry for my English)
Hello,
Please can you tell me what word you search and tell me exactly what is the issue with your search. From your message I understood that you want to have in search scheduled article to. Sorry, my mistake.
Perfect. I change what you say to me in logo_ad.php and works. I think it will be better if I could add a white space below the logo, but now my web looks better. I only need to solve the problem with search form. Thanks, thanks and thanks! The theme is perfect and the support team too 🙂
I write into fuctions.php file and doesn’t work. Where I have to add it? I don’t want scheduled results in the search form. Thanks for all!
Back 🙂
Edit logo_ad.php file located in \parts\header folder and change like here to span 6: http://screencast.com/t/nTbLkHqcf0LK
Now you will lose some space for banner ads but you can put there a 468 x 60px banner instead of 728×90
Hello,
For search to return scheduled post add this into fuctions.php file
function wpshock_search_filter( $query ) {
if ( $query->is_search ) {
$query->set( 'post_status', array('publish','future') );
}
return $query;
}
add_filter('pre_get_posts','wpshock_search_filter');
For logo I will give you a solution soon
I use the code you have post this morning in other topic and the author name appears in all the web. Thank you very much.
I have now the other two cuestions: the logo size and the problem with the search form, where appear results of articles that are scheduled yet.
The author meta plugin doesn’t work in this wordpress version. Can you give me another solution? I always work with the codes, and I can write code by FTP, Could you tell me where is the meta options?
My logo size is: 500×94 px
What can you say me about the bug of the search tool?
Hello,
1. You can use this plugin Author META. Also we will fix this in the next update.
2. You can use a big logo if you want, depend which size you want to be, please give me the size of your logo you want to have it and i will give you the solution.
Thanks for the message
I add another problem. It consists in a bug in the search form. When I do a search, appears future results. In the results I can see articles that are scheduled, but aren’t published yet. How can I fix it?
I have fixed the problem with my favicon but the first and the second problems persists. Thanks for the help!
Hello,
I’m an spanish web-magazine editor. The Newspaper theme is very beautiful and full customizable, but I have two problems:
1. I can’t put the Author name and a link to the articles of each author in the meta of the articles in the homepage and in the articles.
2. My logo is bigger than 300×100 px, how could I change this restriction although it suppose the loss of advertising space in the header?
3. Also I lost my favicon (my url is: http://papeldeperiodico.com).
I’ll be very happy if you give a quickly answer, I’m showing a bad image d my magazine. Thanks!
I wanted to start a thread for things that everyone notices that can be improved in the next version of the Newspaper theme.
1. Use asynchronous Google adsense ads script to Improve load speed and requests
2. fix mobile version when using an ad in the header
3. minify CSS and Javascripts to improve load speed and requests
4. Add Google+ to the TagDiv Social Counter
I will add to this as I find more things that could be improved. Also please add your own improvements.
Hi
I’ve been running my site (www.wowdiets.com) with the Newspaper theme for a couple of weeks. I’ve had the sidebar on the right but want to switch it to the left. I’ve changed the options for all pages templates to left sidebar. On some pages the sidebar is on the left, on some the right. I’ve tried with W3TC disabled and have cleared my browser cache. Any ideas?
Simon
Edit: I’m on version 1.4 of the template with a child template. The only change in the child template is to add Google Analytics in the header.php
Hello,
do you want to remove the header menu completely and leave just the black top menu?
try this:Â http://screencast.com/t/mNT5Bvyzkjv
-
This reply was modified 12 years by
Radu.
I was just wondering, I want to just use the upper (above logo) bar.
How do I remove the <strong style=”word-wrap: break-word; color: #555555; font-family: sans-serif; font-size: 12px; line-height: 16.796875px; background-color: #f9f9f9;”>Header Menu (main)Â
and the little search glass to the right of it?