- ApiPractical example – How to add a new Block and Module
- Apitd_api_top_bar_template::delete
- Apitd_api_top_bar_template::update_key
- Apitd_api_top_bar_template::update
- Apitd_api_top_bar_template::add
- Apitd_api_single_template::delete
- Apitd_api_single_template::update_key
- Apitd_api_single_template::update
- Apitd_api_single_template::add
- Apitd_api_footer_template::delete
- Apitd_api_footer_template::update_key
- Apitd_api_footer_template::update
- Apitd_api_footer_template::add
- Apitd_api_smart_list::delete
- Apitd_api_smart_list::update_key
- Apitd_api_smart_list::update
- Apitd_api_smart_list::add
- Apitd_api_thumb::delete
- Apitd_api_thumb::update_key
- Apitd_api_thumb::update
Catalin,
Actually, it looks like in the above example, the READ MORE button link ONLY appears on MOBILE. Not on desktop! hmmmm….
Dale
Catalin,
Thanks… but looking for more of something like this… (you will notice a LOT of link bait articles on facebook using this approach, links to an article/excerpt, and it contains a READ MORE button.) See example and screenshot below.
is this easily achieved in the NEWSPAPER WORDPRESS THEME?
Live Example:
http://www.iflscience.com/environment/earthquakes-beneath-mount-st-helens-indicate-magma-chamber-recharging
screengrab:
http://www.packagefromsanta.com/tests/Capture7.jpg
Thx!
Dale
I think you should choose if you want www or no www and then redirect one version to the other.
In your case i think you are using the www version, you should redirect the non-www to the www version.
By adding some simple rule to your .htaccess file you can achieve this. There are many examples out there you can copy https://www.google.com/#q=redirect+non+www+to+www
To update – all is well with the update now – but the mobile theme strips ads out – because they’re not Google Ads they are sold by myself to local businesses is there a way to use the mobile theme with the ads still there?
Happy either way but would be good to know – already lost native ads on AMP AND Facebook Instant Articles and so have to show them on the mobile version of the site – if not will switch it off but would be good to get speed benefits.
Thanks
Pat
Hi Catalin,
Thanks for your reply. So this is not a bug, this is really about the behavior of mobile themes.
My conclusion, if I have a site with multiple pages would be better if I do not use mobile themes Plugin, right?
If I may suggestion: Can we have more options for where and when the mobile theme to be displayed? For example: Use mobile theme for the types of posts, Use mobile theme for the types of pages, etc. IMHO
Thank you in advance,
Hi Andrei,
This is not a big task for you. I am just asking how to use theme default widgets which are used on home page and sidebar, inside the content. I will place it at the appropriate place. I can display the same if I got the widget code as used in widgets.
You can support me if you think. I am just requesting you to show me how to use widgets in the content, also I asked you that I want to remove default related post segment and want there a widget where I can show posts what I wish. Here is an example of the same but they used it at the end after comments section. http://beingindian.com/entertainment/celebstylestalking-sonakshi-sinhas/
So don’t take it as a big, support me to resolve it.
Hope, you do the needful.
Thank you.
Hi,
I’m not quite sure I follow. Please provide an example of what strings you are referring to.
Thanks.
Hi,
Please try to provide an example of how you want to implement the gallery and where so we can test it out and better understand how to help.
Thank you!
Hi Bogdan,
Thanks for following up. We’ve done the whole remove & reset all plugins thing – all working now in the back end so long as we activate and then deactivate the mobile theme, then the VC works as expected, but the order of elements on the admin page/post editor is all strange (ie the VC is pushed down the page, moving items like ‘page layout options’ and ‘homepage latest articles’ to the top of the page.
On the front end, we have the social counter at zero still (http://naturallyzimbabwean.com/) and we no longer have a unit without the cache refreshed to test/check whether the mobile menu is still showing on chrome. We haven’t had any comments from users yet today.
Thanks, Tim
Hello darteyobeng,
Unfortunately, our theme does not have such a simple option that offers you a way to change the menu style for each page when you reading an article, sorry! Please notice that this request involves custom work and we cannot provide this type of services at the moment, sorry! As a hint, you have to change the header menu style for a different page using the page ID which you can get using your web inspector, like this -> http://screencast.com/t/QKzcCkHVXi8 Please notice that this is an example of a simple page from our side which has the page ID class -> .page-id-404 and then you have to add your desired style for your header menu for each page. Please notice that to accomplish this task is required to have some CSS/HTML knowledge in order to achieve as you wish.
Also, please notice that if you want to display more levels in our theme and you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you because we cannot provide customization services at the moment, sorry!
Thank you for your understanding!
Hello!
How can I change gradient position in the mobile menu? For example, I want to make 2nd color located a bit lower than now.
Thanks.
Hello,
To add custom javascript code, theme says “Please do not include the <script> </script>”
However being a noob in coding, i have no idea, how to do that. The JavaScripts I want to use are following:
1:
<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: “ca-pub-xxxxxxxxxxxxx”,
enable_page_level_ads: true
});
2:
<script src=”https://letreach.com/scripts/scriptjs/xxxxxxxxxxxxxxxx”></script>
3:
<!– Facebook Pixel Code –>
<script>
!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
n.push=n;n.loaded=!0;n.version=’2.0′;n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
document,’script’,’https://connect.facebook.net/en_US/fbevents.js’);
fbq(‘init’, ‘xxxxxxxxxxxxxxxxx’);
fbq(‘track’, “PageView”);</script>
<noscript><img height=”1″ width=”1″ style=”display:none”
src=”https://www.facebook.com/tr?id=xxxxxxxxxx&ev=PageView&noscript=1″
/></noscript>
<!– End Facebook Pixel Code –>
Kindly tell me how do i add these without <script> as these are inline codes. If I use them as it is, they don’t work correctly, especially on mobile. Please share converted code if possible.
Hello,
I’m having a MegaMenu on my Newspaper 7 site. It shows a category (News) with subcategories (e.g. Politics, Sports, Celebrities). Now every subcategory has subcategories of its own, (e.g. Football, Tennis, Basketball). MegaMenu shows ALL categories in alphabetical order (in this example: Basketball, Celebreties, Football, Politics, Sports, Tennis), which makes no sense. Is there a way I can hide the sub-sub-categories so I only see “Politics, Sports, Celebrities”?
Kind regards,
Herwig
Yes, I read your canned answer at least a dozen times on this forum. Clearly you have a lot of users with RSS questions and you think a plugin or that WP Beginner article can help. And for most people, that isn’t the case.
So I’m hoping someone can actually help me.
Transitioning to NP theme…and I know this doesn’t fall under typical support but I am really hoping someone out there can help me. I have a custom RSS feed in my current site I’m trying to copy over (working on a staging server – not sure if that makes a difference).
I have added a functions.php to my child theme and added this code:
// First remove all the RSS feed links from wp_head using remove_action
remove_action( ‘wp_head’,’feed_links’, 2 );
remove_action( ‘wp_head’,’feed_links_extra’, 3 );
// Then reinsert the main RSS feed by using add_action to call our function
add_action( ‘wp_head’, ‘reinsert_rss_feed’, 1 );
// This function will reinsert the main RSS feed *after* the others have been removed
function reinsert_rss_feed() {
echo ‘<link rel=”alternate” type=”application/rss+xml” title=”‘ . get_bloginfo(‘sitename’) . ‘ » RSS Feed” href=”‘ . get_bloginfo(‘rss2_url’) . ‘” />’;
}
//NEW RSS FEED function copied from previous developer
remove_all_actions( ‘do_feed_rss2’ );
add_action( ‘do_feed_rss2’, ‘acme_product_feed_rss2’, 10, 1 );
function acme_product_feed_rss2( $for_comments ) {
$rss_template = get_stylesheet_directory() . ‘/feed-rss2.php’;
if( file_exists( $rss_template ) )
load_template( $rss_template );
else
do_feed_rss2( $for_comments ); // Call default function
}
add_filter( ‘the_content_feed’, ‘my_rssfooter’ );
add_filter( ‘the_excerpt_rss’, ‘my_rssfooter’ );
//NEW RSS FEED function copied from previous developer
function my_feed_thumbnail($content) {
if (is_feed() && has_post_thumbnail()) {
return get_the_post_thumbnail( get_the_ID(), ‘thumbnail’ ) . $content;
}
return $content;
}
add_filter(‘the_content_feed’, ‘my_feed_thumbnail’);
add_filter(‘the_excerpt_rss’, ‘my_feed_thumbnail’);
//NEW RSS FEED function copied from previous developer
add_filter(‘excerpt_length’, ‘my_excerpt_length’);
function my_excerpt_length($length) {
if ( is_feed() ) {
return 1500;
} else return 0;
}
————————————————————
then, also added a standard feed-rss2.php template to my child theme
But I still can’t get it to work. The feed on the new site is the standard RSS feed, but that’s not what I want. I need my custom RSS feed.
THANK YOU in advance to anyone who may be able to help.
Hello Andrei,
I am trying to implement a Wallpaper ad but it seems like my website is hiding the top part:
I took a wallpaper example from: http://sport.sky-host.cu.cc/wp1/
On my site: http://www.glitched.co.uk – you can see that the header of the ad is cut off.
Do you know why this is doing this?
Thanks,
Hi,
In order to update from newspaper 6, you need to delete the old theme altogether and copy over the new theme via ftp. Then simply run the update script from the welcome screen: http://screencast.com/t/NXxqfbe4T
Before the update make sure you do a full backup of your current installation – https://codex.wordpress.org/WordPress_Backups and then do a clean update, meaning that we recommend that you delete the old version of the theme before uploading the new one – https://forum.tagdiv.com/how-to-update-the-theme-2/ update also the plugins that come with the theme files from the /plugins folder. In the “how to update” guide is specified that you will have to run the script that will import from database your settings.
The shortcodes have been changed so old ones will not work anymore. Please note that old files customization or custom css will not work with the new version and you will have to adjust or re-add them.
You will have to re-apply a few settings though as some elements change their order and number such as blocks or post templates so a post template from newspaper 4 for example post style 3, will not be post style 3 anymore but a different number.
You will only have to allow a half hour to restore your site to it’s previous setup.
Thank you!
Hi,
I would like change header ad for specific page. I already add new custom ad boxs for every page by adding new value in array in files td_config.php and td_panel_ads.php.
Now I want for example replace Header ad with Custom ad 1 ad on http://mydomain.com/page1 and
Custom ad 2 on http://mydomain.com/page2 and so on…
How can I do that? Thank you very much for your support.
Best regards,
Tim
Hi there,
We are starting to see a pattern when we select to make a change in the theme panel and click ‘save’
In particular, We tried to change the theme colour of our category tags. Every time we try to do this the squares(Timer) continuoisly freez on us, making it impossible to save the setting and thus completing the task. Another example is adding the google analytics code to the theme.
Please help.
I tried updating to version 6 a couple of weeks ago but went back to 4 as everything got jumbled up for example sidebar was below content and visual composer was messy (but the updater script did work to keep my sidebars).
I will try again with version 7 this week but can I check on this page forum.tagdiv.com/how-to-update-the-theme-2 you say to delete existing theme via ftp and make sure the following are deleted – but are these deleted if I already delete the existing theme folder or are they somewhere else as well?
page-homepage-bg.php
page-homepage-bg-loop.php
page-homepage-blank.php
page-homepage-loop.php
page-homepage-timeline.php
Hello efaq,
1)Please notice that the custom menu would be your custom menu, created as you wish and then the custom button you have to add it to a page with Visual Composer, like this -> http://screencast.com/t/i834fsDw and there you can see the buttons for all your menu items.
2)So, I think that you understand as our theme uses a lot of modules/blocks which have a lot of thumbnails in our theme. If you are not using some blocks, you can deactivate from Theme panel the thumbnail which uses this type of blocks. For example, if you do not want to use block 3, you can turn off the module 1 and so let of forth.
3)Unfortunately, these columns come by default with our theme and you have no control about these because this is predefined. If you want to customize your footer section, you have to use the footer template style 5 because this is a custom template and you can add in it any widgets you wish in Footer 1,2,3. For more information about our footer template, please check our documentation here -> https://forum.tagdiv.com/footer-templates/
Thanks.
Hello djgruber,
Unfortunately, the Read More tags are not working for pages but only for excerpts. In this case, please try to set it according to our documentation. Not all theme’s modules display Read More button so in order to have it on the page, you’ll have to use a module which has this button in its structure. For example, you can use module 11 or block 12: http://screencast.com/t/5mhgRrGvZZsD – http://screencast.com/t/E18xBmSSyCk
The excerpt’s length can be set from theme panel -> excerpts for each module: http://screencast.com/t/coHOqbW3
For more information about Excerpts, please check here -> https://forum.tagdiv.com/excerpts-introduction/
If is not what you mean, please provide more details about what you want to achieve so I will be able to provide a more accurate response. Also, you can provide some useful screenshots with what you want to achieve.
Thank you for your understanding!
Hi,
I am facing issue with chrome browser as I am seeing social media icons as chines symbols @ top header navigation menu, share buttons and in mobile view home button and search icon.
Google ads are not visible in chrome browser.
The same is working fine with IE browser.
Please have a look.
Regards;
Jyoswave
Hello,
1) In order to remove the date and time only from a big grid, you can use css like so:
.td_module_mx5 .td-module-meta-info{
display:none!important;
}
Just add the code in the theme panel->custom css box.
2)unfortunately php 7 is not yet tested with our theme. We recommend version 6.
3) I’m not sure how you are implementing the news ticker, but it can be added in visual composer and filtered like so: http://screencast.com/t/SPUUdUoGG
Please provide an example of how you are implementing the news ticker and where so we can figure out how to help.
4) Hi, the mega-menu sub-categories are shown on the left in the newspaper theme. if you use newsmag, then they will be under the posts and there is no easy way to move them. (If you use newsmag, you also wrote in the wrong forum. I can’t tell as I can’t access your site.)
Thank you!
Hi Catalin,
I followed the instructions but still the gallery is not working as it is supposed to.
Now I did update the theme, visual composer and rev slider but still nothing.
Other issue is that after updating/reinstalling the visual composer and rev slider, I can’t activate them because I don’t have purchase code. There should be another update of rev slider but I can’t update because I don’t have purchase code.
I have sent you access to my website via email so you can check it out.
We’d really want to have the gallery fixed because we do have campaign right now for our canada categories.
Thanks!
Hi,
I’ve been able to amend the text logo tagline (under header, logo & favicon) previously but today it won’t let me make changes.
(I have selected style 10). Tried deactivating plugins but this did not help.
Any advise please. I have the current newsmag theme installed.
Thanks, Jennie