Search Results for 'remove tag from post'

Results from the Forum
Libweb
Participant
#0

Hello,

I am trying to set up a form and a script in 2 different Text/HTML widgets but every time I paste the snippets in, it fails to load on the sidebar and the loading wheel for the widget just keeps spinning. I tried switching to other themes and I am able to load the widgets fine but it doesnt seem to be working on the Newspaper theme. Here is an example of the code I am trying to load below. Also, the html works fine if I remove the <form> and </form> tags.

<form onsubmit=”window.open(‘http://feedburner.google.com/fb/a/mailverify?uri=SaludTodayBlog&#8217;, ‘popupwindow’, ‘scrollbars=yes,width=550,height=520’);return true” target=”popupwindow” method=”post” action=”http://feedburner.google.com/fb/a/mailverify&#8221; style=”border:1px solid #ccc;padding:3px;text-align:center;”>
<p>Enter your email address</p>
<p><input type=”text” name=”email” style=”max-width:100%; margin: auto;”></p>
<input type=”hidden” name=”uri” value=”SaludTodayBlog”>
<input type=”hidden” value=”en_US” name=”loc”>
<input type=”submit” value=”Subscribe” style=”margin: auto;”>
</form>

Thanks in advance.

Bogdan B.
tagDiv Staff

Hi,

1) The grid shows posts from the featured category. If you did not set any posts in that category, then it has nothing to show.

2) Unfortunately there is no setting to remove the sibling category tags on the category pages for the mobile theme. this can be done however by editing the theme files like so: http://screencast.com/t/zxxpwsDxTQL

3) The gradient can have a transparency to it. When you set the colors for it, you can alter the level of transparency for the color: http://screencast.com/t/2QCay9Bblnb

Thank you!

Catalin
tagDiv Staff

Hello Marto,

1) Please notice that our new mobile theme do not support the Visual Composer and it only displays the Big Grid -> your desired text -> and the latest articles features. For more information about mobile theme, please check our documentation here -> https://forum.tagdiv.com/the-mobile-theme/
2) For more information about page level ads implementation, please check this topic here -> https://forum.tagdiv.com/topic/page-level-ads-problems/
3) Please notice that the mobile theme does not support adding the widgets. This was made to be very fast and clean. All information about this feature you will find in the above documentation. If you want to have widgets, you will have to use the normal mobile theme (responsive mode).
4) If you want to hide the back to the top button, you have to use a bit of CSS code to do it. Please try the code below and place it in Theme panel->Cusotm CSS area.

The code is ->

@media (max-width:767px){
.td-scroll-up-visible {
display:none;
}
}

5)If you want to show the footer menu, you have to change them from Theme panel, like this -> http://screencast.com/t/3QDthMdzkA
6)Please try the code below and place it in Theme panel->Custom CSS area.

The code is ->

.td-mobile-footer-wrap {
display:none;
}

7)Unfortunately, our theme does not have such an option for mobile font menu. If you want to change the font from the mobile menu, you can only do using a bit of CSS. For example, you can use the following code ->

.td-mobile-content{
font-family:arial;
}

Please notice that the font will have to be loaded from the Theme panel->Theme fonts, otherwise, the font will not be loaded. If your custom font is not loaded in our theme, you have to load them using ‘@font-face’ For more references in this regard, please consult here ->>
https://forum.tagdiv.com/font-customization/https://forum.tagdiv.com/topic/custom-font-issue/

8)I suppose that you are referring to the post view count for each post page. If you want to hide/remove it, please notice that you can do that from Theme panel->Post Settings, like this -> http://screencast.com/t/gBgk740e If is not what you mean, please provide more details.

9)As you can see, for the mobile theme, you cannot display the blocks for your sidebar. For more information about sidebar, please check our documentation here -> https://forum.tagdiv.com/sidebars-tutorial/

10)Please notice that the mobile theme has been designed to be very basic/simple and clear just to be very fast. Yes, the modal image was removed because influence the speed optimization and that was the decision of our developers. Also, you cannot turn it on because you do not have any option to enable it.
So, if you are unhappy with the new mobile theme behaviour, you simply disable the Mobile theme plugin and the theme will be switched to the normal mobile responsive.

Thank you for your understanding!

Bogdan B.
tagDiv Staff

Hello Eddie,

1) If you want to remove the theme specific comments you need to remove this part for every post style you use:
http://screencast.com/t/Rf8c7PUeCw4
Every post style has it’s own file (there are 14 post styles so there are 14 files) so you need to remove comments for every file you use on your site.

2) Unfortuantely our theme does not have a global font, but rather fonts for every theme element. THere are 2 ways to go about this. Either change the font for every element in the them panel here: http://screencast.com/t/8hq3mqwWAG or the coding version: https://forum.tagdiv.com/topic/do-i-really-need-to-change-all-the-text-fields-for-fonts/

Thank you!

Liz
tagDiv Member

Solution found thanks to Organic Binary in another post -> https://forum.tagdiv.com/bg-settings/

I had to remove the colour for the background to make the site go back to full width.

Catalin
tagDiv Staff

Hello yachtsailingcharter,

Please notice that he Visual Composer come bundled with our theme and you can install it only from the panel, Plugins area, like this -> http://screencast.com/t/GDRCiI3V Before doing this, please ensure that you have removed the older version of it for better results. Also, please ensure that you have right installed your theme according to our documentation here -> https://forum.tagdiv.com/how-to-update-the-theme-2/ (we recommend to update your theme VIA FTP) Also, please update your Visual Composer to 4.11.2, Social Counter 4.0 for better results. Also, you can check and this topic here -> https://forum.tagdiv.com/topic/how-i-manage-to-update-from-version-6-x-x-to-newspaper-7-0-without-a-problem/#post-111643

Thank you for your understanding!

Cybi
Participant
#0

Hello again, kindly tell me how to remove tags on every post?.Thanks

Catalin
tagDiv Staff

Hello yachtsailingcharter,

Yes, before you update your theme, you have to disable all your plugins, remove your old theme and install the new update only through FTP because this is the surest way in this case. For more information about theme updating, please check our documentation here -> https://forum.tagdiv.com/how-to-update-the-theme-2/ Also, you can check this topic here -> https://forum.tagdiv.com/topic/how-i-manage-to-update-from-version-6-x-x-to-newspaper-7-0-without-a-problem/#post-111643

Thanks.

nycinsider
tagDiv Member

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.

Bintmusic
Participant
#0

Hi,

after update 7.0 (also all plugin updated) everything ok on desktops and tablets, instead there no pages on smartphones (with android browser and android)… even in home viewing starts from the “last articles”

even on smartphones posts and categories are seen correctly: only pages are wrong

also I wanted to ask how to remove category tag on smartphones

thanks

nycinsider
Participant
#0

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.

Bichareh
Participant
#0

Hi,

how can I add the rel=”prev” and rel=”next” attributes to my static front page pagination?

The following code is working with categorys and tags, but not on my front page. It refuses to show the rel=”next”. http://www.promicabana.de

function cor_rel_next_prev_pagination() {
global $paged;
if ( get_previous_posts_link() ) { ?>
<link rel="prev" href="<?php echo get_pagenum_link( $paged - 1 ); ?>">
<?php
}
if ( get_next_posts_link() ) { ?>
<link rel="next" href="<?php echo get_pagenum_link( $paged + 1 ); ?>">
<?php
}
}
remove_action('wp_head', 'adjacent_posts_rel_link_wp_head');
add_action('wp_head', 'cor_rel_next_prev_pagination');

Thanks!

ilnegozio
tagDiv Member

Hi Bogdan,

A million thanks to you.

1. You are a amazing, I manage to put Facebook Comments now without having a Facebook plugin.
Guys I wanna share this to you anybody out there who tried to put FB comment instead of the default one.
Source: Link Here

Here’s what I did:

1. In order to implement facebook comments, you have to disable the theme comments and then place the facebook comments shortcode in the template files.
You have to do this for every post style you use on your site. every post style has it’s own file.
Theme Panel > Post Settings > ENABLE COMMENTS ON POSTS
Enable or disable the posts’ comments, for the entire site. > Disable – Credits to Bogdan B.

2. Add the following code to header.php located /wp-content/themes/Newspaper

after this line: <body <?php body_class() ?> itemscope=”itemscope” itemtype=”<?php echo td_global::$http_or_https?>://schema.org/WebPage”>

add this code:

<div id=”fb-root”></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = “//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5&appId=XXXXXX”;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));</script>

end to before this line: <?php //this is closing in the footer.php file ?> – Credits to Chris S.

3. Add the following code to loop-single.php style and this depends what style number you are using, know or add it to all
styles. My style is loop-single-12.php

add this code:

<div class=”fb-comments” data-href=”<?php echo get_permalink($td_mod_single->post->ID); ?>” data-width=”100%” data-numposts=”5″></div>

end to before this line: <?php echo $td_mod_single->related_posts();?> – Credits to Andrei L.

4. If you are facing this issue “Only one issue–the comment count is appearing twice on our site (www.alaskapublic.org), once in the body of the post and once below. I’d like to delete the upper one. Our comment count is disabled in the theme panel.

Screenshot: http://www.alaskapublic.org/wp-content/uploads/2016/04/Screen-Shot-2016-04-12-at-4.12.41-PM.png&#8221; – @sarahglaser

Soln:

Try this css in theme panel > custom code > custom css to hide the first comment counter: http://screencast.com/t/ZyTOiRdT

.fb_comments_count{
display: none;
}

– Credits to Andrei L.

Note to tagdiv staff/admin: Please feel free to remove this comment if not allowed here.

Regards

Andrei L.
tagDiv Member

Hi

The big grid structure is generated in td_block_big_grid.php file: http://screencast.com/t/YHh4RG3SgYz You’ll have to change the limit post number displayed in grid to remove a thumb.
Each thumb is generated in td_config.php file: http://screencast.com/t/4Ndw85i5 so you’ll need to add new thumb size or change the ones which are already used in big grid.
Best way to customize the grid is this one:
– add a new module or more modules, with a specific layout and create a new thumb for it then use that module in grid’s layout. Here you can check theme’s documentation for more details about adding a new module: https://forum.tagdiv.com/td_api_moduleadd/

I hope this helps.
Thanks!

Andrei L.
tagDiv Member

Hi

You can remove the post views counter from theme panel > post settings: http://screencast.com/t/Gaawkthmk For more details about theme’s options please refer to our documentation: https://forum.tagdiv.com/newsmag-general-settings/
Also if you need further assistance let us know and we will get back to you as soon as possible.

Thanks!

Bogdan B.
tagDiv Staff

Hello,

@Georoge
1) The header menu will make the logo fit the scrolling menu. Do you want to have the full size logo in the scrolling version of the menu?
2) you can use this css to remove the menu on a 404 page:
.error404 #menu-new-menu-1{
display:none!important;
}

3) This issue is caused by the plugin you use for the contact form. Please use contact form 7 as that is the tested plugin with our theme.


@Cybi

Please create your own topic when having support questions not related to the topic you post on. Your issue is very different. For some reason, your theme cannot find the index.php file. I think you are not installing the theme correctly or maybe the chilf theme. please follow this guide to properly install you theme: https://forum.tagdiv.com/install-via-ftp/
https://forum.tagdiv.com/the-child-theme-support-tutorial/

Thank you!

Bogdan B.
tagDiv Staff

Hi,
The category tags can be removed from the theme panel so css code is not necessary: http://screencast.com/t/mZJFwRAiN
If you still want to use css to target only big grid 3:
.td_block_big_grid_3 .td-post-category{
display:none!important;
}

Hope this helps.
Thanks.

awtown
tagDiv Member

Tagdiv’s support answer was to remove some code. The code to remove is shown in one of the links below.

Here’s their answer:

1. The theme display the default share buttons on post, but you can change that by modifying the code like this:
-social sharing top: http://screencast.com/t/5cOfEKhOvq -social sharing bottom: http://screencast.com/t/HaYAos2UW14E
1. You can use Wp Text widget http://screencast.com/t/Rj251NC5yOPU to add a new share button but notice that the php code will not be interpreted, you can use only html, js and css, also make sure you insert the code in text format: http://screencast.com/t/woDhLq9Li5 Notice that you may need additional css customization for your buttons. The result could be like here: http://screencast.com/t/Br8L5bpjk
2. The social networks from Theme Panel > Social Networks are adding the corresponding social network icon into theme’s top bar section in front end and will link to the social page you set here: http://screencast.com/t/Nr5yKbQ9Tthttp://screencast.com/t/dpkjL2Nff
Thanks!
Post Link: https://forum.tagdiv.com/topic/three-questions/#post-66068

Andrei L.
tagDiv Member

Hi

Please note that is a public forum and any one can see the information posted here, so I removed your login details.
Also I’ve checked your site and noticed the you’re using an older version of the theme and also Visual Composer plugin is outdated. Try to update the theme at latest version available on themeforest, also update Visual Composer from /plugins folder: https://forum.tagdiv.com/how-to-update-the-theme-2/https://forum.tagdiv.com/how-to-update-visual-composer-plugin/
You also have to set the parameters from system status at values indicated in our documentation: https://forum.tagdiv.com/system-status-parameters-guide/http://screencast.com/t/GLY634Gp

Thanks!

cstyn
Participant
#0

Hi. Yes, is possible 🙂

imagebam.com

Following the guides and forum I reached using Comet Cache, tagDiv Speed Booster, etc.

all nice, added in tagDiv Speed Booster the codes, removing statistic plugin by histats (js hosted at them), no ads.

but since I want to add some ads, and back my statistic plugin or other I need to get those 5% I miss:

Eliminate render-blocking JavaScript and CSS in above-the-fold content : style.css

– if I add

$this->move_style_to_footer_queue('td-theme');

then is showing in pagespeed/insights back (reverts) all the changes I made… so, not good.

– if I add ‘td-theme’ line above and remove any other block that contains ‘td-theme’ in Speed Booster it crashes.

– There is a way to fix style.css render-blocking?

i ask, since i followed all the other codes, used them, it works, but not for style.css …

– other note: adding (‘js_composer_front’) breaked my homepage, any page I do with composer is showing a vertical line on the left side of the theme. so I now use only latest posts as homepage, to look fine.

– on mobile I have 84 / 100 just because of the same error, style.css in the screen above.

using wp 4.4.2 and v2.3.5.

sid
tagDiv Member

Hey Bogdan,

I don’t need the refund. The Chinese Character issue was because your theme was not picking up icon files and after a lot of changes to .httacess file, php settings and trying various plugins I found out that as it was caused after I made the update to the theme, it’s something related to that. Instead of updating theme via Envato way from within WordPress, I deleted theme files and replaced them with the new theme files. The issue was resolved.

The Facebook sharing issue which you again don’t agree is your theme related was gone when I was using the Facebook Comments plugin. Apparently it was updating the OG tags which your theme fails to do so. When I removed that plugin, the issue is back again. This means I cannot use the automatic post to facebook page option of WordPress unless I have clicked on Share button 3-4 times or used Facebook debugger link.

The multiple Youtube Videos played at same time in Smart List issue looks like has been fixed.

Bogdan B.
tagDiv Staff

Hi,

It is a known fact that google detects hidden content. Unfortunately if you want those changes without css, you will have to add extra conditions in PHP and rewrite the theme code to have it only show elements in certain conditions.
1) You can disable post views from the theme panel but they will not show up anymore in the back-end and also sorting options that depend on the post views will not work anymore.
2) This needs several conditions in php to work. There is no easy solution I can provide.
3) The pulldownj on categories can easily be removed from the code here:
https://forum.tagdiv.com/topic/eliminate-7-days-popular-and-by-review-score-from-dropdown-menu/
4) You can remove the pagination by removing this code: http://screencast.com/t/bpquPfkSaFmy

Not all requests can be done easily from the php files.
Thank you!

magda
tagDiv Member

Hello Bogdan,

thanks for your reply.
I cannot send you screenshot here i see, so please take a look at your demo page
http://demo.tagdiv.com/newsmag/
In the home page, in slider, in the first post do you see its category appearing on the featured image and in the rest of the posts? “Top Destinations”. I dont want this box with the categories to appear in the image.

How can it be removed?

Thanks in advance,
Magda

magda
Participant
How can i? - topic
#0

Hello,

congratulations for your theme.

I would like to ask you the following if u can help me:
1] How can the search bar that is on the main menu change form (become more obvious with a text area) and be added in the top bar menu?
2] I have disabled the category tags but they still appear in each post (as tags in featured image). Can they be removed?
3] In the Sub mega menu, how can i control the order of the subcategories?

Thanks in advance,
Magda

cstyn
tagDiv Member

I have newsmag.

Google search console tells me that i have injected content, the link is ….com/page/2029

<div class="td-pb-span8 td-main-content">
<div class="td-ss-main-content">
<div class="td-page-header td-pb-padding-side">
</div>

<div class="td_module_15 td-animation-stack td_module_no_thumb post-48032 post type-post status-publish format-standard hentry category-edited-2012-edited tag-edited-green tag-edited tag-edited td-post-content">
<div class="item-details">
<h1 class="entry-title">

what am i using wrong to be detected as injected?
//edited= i removed in this forum actual words.
// https://sitecheck.sucuri.net/ = used it and site is clean.

  • This reply was modified 10 years by cstyn.
  • This reply was modified 10 years by cstyn.
  • This reply was modified 10 years by cstyn.
  • This reply was modified 10 years by cstyn.
Viewing 25 results - 1,601 through 1,625 (of 1,956 total)