Search Results for 'amp'

Results from the Forum
rbaccaro
Participant
#0

Hi,

I would like to remove the metaboxes below the Add New Post admin area, as these examples in my functions:

remove_meta_box(‘td_review_metabox’, ‘post’, ‘normal’);
remove_meta_box(‘td_post_theme_settings_metabox’, ‘post’, ‘normal’);

I need to remove the Product Review and Post Settings boxes.

Anyone could show me the proper string to remove the Newspaper theme boxes?

mprieto
Participant
#0

Hello there, great theme

I want to ask if someone has trouble working with select tag in forms in this theme, when I use a drop-down list, this works as it should in Desktop and iOS devices but in Chrome Android browser I can’t select the options, these never show. Here you can find an example http://www.gacelacardona.com/test-select/

It has something to do with some scripts in site.js because when I comment around line 160 to 175 the functions (//show the mobile menu only on phone screen and //load fast click only on touch devices, except ipad), the drop-down list works but the menu doesn’t.

Please any help will be appreciated.

Lucian
tagDiv Staff

Hi,

Also, please follow this guide, last part, “How to make responsive text/flash or image ads” https://forum.tagdiv.com/ads/
Here you have an example of an header ad:

<div class="td-visible-desktop">
<a href="#"><img src="http://demo.tagdiv.com/newspaper/wp-content/uploads/2013/08/ads-728.jpg" /></a>
</div>

<div class="td-visible-tablet-l">
<a href="#"><img src="http://demo.tagdiv.com/newspaper/wp-content/uploads/2013/08/ads-468.jpg" /></a>
</div>

<div class="td-visible-tablet-tp">
<a href="#"><img src="http://demo.tagdiv.com/newspaper/wp-content/uploads/2013/08/ads-468.jpg" /></a>
</div>

<div class="td-visible-phone">
<a href="#"><img src="http://demo.tagdiv.com/newspaper/wp-content/uploads/2013/08/ads-300.jpg" /></a>
</div>

Hope this helps
Thanks

Lucian
tagDiv Staff

Hi,

Try adding the code directly in file, where you want the ad to be displayed for example if you want on header edit here: http://screencast.com/t/lGs4ZXrR5

Hope this help!
Thanks!

Lucian
tagDiv Staff

Hi,

Can you show me an example! Also not all videos from youtube have a large image thumbnail, but if you show me a case i will inspect it.

Thanks!

Lucian
tagDiv Staff

Hi,

It can be done via CSS and you add it in Theme Panel -> Custom CSS.

Here is an example:
First you have to change this classes like this: http://screencast.com/t/NKc2JXoDKB

Then add this custom CSS in Theme Panel -> Custom CSS:
Here I’ve used an icon found on internet but you can try to find a better one if you want or hire a freelancer to draw a custom one for you.

.td-sp-share-stumbleupon {
width: 31px;
height: 31px;
background-image: url('http://iconizer.net/files/InFocus_Social_Media_Icons/orig/stumbleupon.png') !important;
background-repeat: no-repeat;
top: -3px !important;
left: -2px;
}

.td-social-sharing-buttons {
margin-right: 10px !important;
}

.td-social-stumbleupon {
background-color: orange;
}

Hope this helps.

Thanks

simchris
tagDiv Member

Google has been cleaning house on junk news sites (our news network sites have been in GN since it was in beta many years ago) and getting stricter on what kind of sites they will allow; specifically if you’re just copying YouTube videos and cloning stories from major news portals, stealing images without permission, and not creating “first of its kind” original content, they might not take your content. They also don’t want “made up” stuff like a psychic blog, or things which attack other groups, and they do want to see an editorial staff, content which is not “guest posts” or paid content.

You need a Google XML sitemap, Google Webmaster account, unique URL for each story — traditionally they needed a unique ID number for each story which is why you see those strings of numbers on URLs to most real news sites.

Often done as

site/12345/pretty-url-here/

or

site/pretty-url-here_12345

But they do have specific guidelines you can read – both for content and technical requirements (for example they don’t expect to grab content more than 2 days old, so you need to have “current news” every day once you submit your application). Bylines, proper dates/times, etc.

Also remember that the XML sitemap, and Google News sitemap are two totally different things. Your XML sitemap should be working for awhile (not a brand new site), and you should not ping Google News with your news sitemap until approved.

Hope that helped somebody.

I know of many websites which have been kicked out due to “low quality content” this year.

I have not yet submitted one of our sites running this theme, which we’re still messing with as it’s consolidating 3 ooooold sites into one new magazine (ga-ga.com); but one of our sites running this theme *is* in GN right now, although the site is 10 years old and pre-dates GN. We switched over with zero trouble. This theme is properly optimized for Google News as long as your content is newsworthy.

  • This reply was modified 12 years by simchris.
Crabouille
Participant
#0

Is it possible to have source & via show up as typed in post setting without being all capital letters ?

Lucian
tagDiv Staff

Hi,

Here you have an example on how to add the ad banner on the category page and index page: https://forum.tagdiv.com/topic/adsense-below-header-on-homepage/#post-15013

Just follow these steps and do the same for the template you want the ad to display

It looks something like this on Homepage-blank Template http://screencast.com/t/yXKDHWFsd

Thanks

Lucian
tagDiv Staff

Hi,

If you want a standard button you can get the code from here: http://www.stumbleupon.com/dt/badges/create

Or if you want a custom one the code should look like this:

<a class="td-social-sharing-buttons td-social-pinterest" href="http://www.stumbleupon.com/submit?url=' . urlencode(get_permalink()) . '&amp;title= ' . $this->title . '" onclick="window.open(this.href, \'mywin\',
\'left=50,top=50,width=600,height=350,toolbar=0\'); return false; "><div class="td-sp td-sp-share-pinterest"></div><div class="td-social-but-text">StumbleUpon</div></a>

add it in the td_module_blog.php file like here: http://screencast.com/t/eaRORJez then you need to Change the icon and color via CSS

Hope this help!
Thanks

Lucian
tagDiv Staff

Hi,


@bobbyd67
Thanks for your help.
@snowwatchGB I have tested the solution that @bobbyd67 mentioned and seems to work fine.

To do that add this code &amp;showinfo=0&amp;autohide=1 like here: http://screencast.com/t/zUXkxAqs

To remove the gap add this CSS

.post .wpb_video_wrapper iframe {
margin-top: -25px;
}

..in Theme Panel -> Cutom CSS

Thanks

evanguerra
Participant
#0

Hi. I am trying to figure out out to set the menu the same as the Theme Preview. For example the ‘Lifestyle’ category has sub categories, beauty, get inspired etc. Sorry if this has been covered already. Can you point me to where? my site http://www.templetourist.com/

Lucian
tagDiv Staff

Hi,

Add this code:

$image = wp_get_attachment_image_src( get_post_thumbnail_id( $this->post->ID ), 'single-post-thumbnail' );

                $buffy .= '<li class="td-social-pinterest">';
                    $buffy .= '<script type="text/javascript" src="http://assets.pinterest.com/js/pinit.js"></script><a href="http://pinterest.com/pin/create/button/?url=' . $this->href . '&amp;media=' . (!empty($image[0]) ? $image[0] : '') . '" class="pin-it-button" ><img border="0" src="http://assets.pinterest.com/images/PinExt.png" title="Pin It" alt="" /></a>';
                $buffy .= '</li>';

to td_module_blog.php file like this: http://screencast.com/t/Iry8xWEQ

Result: http://screencast.com/t/Ek7jSFsa

Thanks

Lucian
tagDiv Staff

Hi,

If you use the page builder with title you will get that result, with the headline occupying the full length of the page.

I suggest you use the Homepage – Blank template instead with a “Text Box” element and a “Widgetised Sidebar” in which you can create and display your own sidebar, the page should look something like this: http://screencast.com/t/36HrFSnqorY

Then you need to set the title from the “Text Box” to be h1.

For the feature image you can add from “Text Box” content by adding a picture at the beginning of the content using “Add Media”.

Hope this works.

Thanks

dhvanesh
Participant
#0

How to have Adsense just below header and top navigation on homepage and category pages only?

Here is the example: http://www.screencast.com/t/kM0zY3rN

igorx81
Participant
#0

Hi, I get this error:

Error 503 Service Unavailable
Service Unavailable
Guru Meditation:
XID: 391304500
Varnish cache server

after a while, when trying to install the 2 plugins from “Private Repository” (Revolution slider and tagDiv social counter). Non error appears in log file.

I also get the same error when installing the theme demo, but some content is installed anyway and here I get this error in log file:

(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: /ttp://www.example.com/wp-admin/admin.php?page=td_theme_panel
(104)Connection reset by peer: mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: /ttp://www.example.com/wp-admin/admin.php?page=td_theme_panel

At the moment my hosting provider can’t find any other error or a timeout problem, do you have any solution?

Thanks a lot

rebelone
Participant
#0

Example: http://viel-unterwegs.de/mexiko/

I’d love to have the featured picture shown on this page. I also used the page builder to have a better sidebar navigation.
But I also don’t want to have the Headline all over the page. How can I do this?
>> Screenshot: https://www.dropbox.com/s/vgtkq2uusmk1419/screen.jpg

Lucian
tagDiv Staff

Hi,

In order to exclude a specific category from displaying in a bloc k you have to set the block to display all categories, for example, minus the category you want to display in another block like this: http://screencast.com/t/5DYi990oq

You can find the category ID’s like this: http://screencast.com/t/V5P2nJjIAgG

Hope this helps.

Thanks

Lucian
tagDiv Staff

Hi,

What you can do is to duplicate the the get_title function in td_module.php file and name it get_title_h3 for example, then replace the title tags with H3 tags like this: http://screencast.com/t/olfwpDqW

Then set the module 3 that you are using to get the title with that function like this: http://screencast.com/t/huW7XVCe84v

This should do the job!

Thnaks

vexx
Participant
#0

Hey guys,

I’ve upgraded to the latest 3.9 release and I’ve noticed that the view counter is still doesn’t work. I’m using w3 total cache but no speedboster plugin,or jetpack. The prime example I can give you, somebody posted on of our articles on reddit and we got around 5k visitors on that article, the counter showed 20, even after clearing the cache and the next day. I’m not sure what was fixed or if I had to do anything extra to make it work.

I’d appreciate a piece of advice.

bobbyd67
Participant
#0

Hi Guys,

I just updated the theme to 3.9.1 and have some urgent problems.

I also updated Visual Composer as it too said it needed update. I deleted the plugin then uploaded from folder in theme as instructed.

But the problems I now have is CSS animations are not working.

Here is the url: http://www.powercontrol.com.au/giovenzana-automation/

All pages animations seem not to be working.

Alignment of several modules created with Visual Composer are now all over the place.

For example on this page you can see the buttons are over lapping http://www.powercontrol.com.au/safe-t-pull/safe-t-pull-wire-switches/ . Plus the buttons are now not rounded corners?

http://www.powercontrol.com.au/contact-us/ you can see here the google map is over lapping the contact form ( it wasnt before ).

I too as others have had is getting the ” Hola! Please activate your copy of Visual Composer to receive automatic updates. ”

I am not sure if the theme is the problem or VC.

Please advise asap as this is a live customers site.

Thanks Darren

buttongts
tagDiv Member

1. Thanks Lucian h1 works perfect now.

2. Yes I know it is default h3 theme tags, but I want to change only post sitltes for widget. When I change td_module.php:

function get_title($excerpt_lenght = '') {
        $buffy = '';
        $buffy .= '<h3 itemprop="name" class="entry-title">';
        $buffy .='<a itemprop="url" href="' . $this->href . '" rel="bookmark" title="' . $this->title_attribute . '">';
        if (!empty($excerpt_lenght)) {
            $buffy .= td_util::excerpt($this->title, $excerpt_lenght, 'show_shortcodes');
        } else {
            $buffy .= $this->title;
        }
        $buffy .='</a>';
        $buffy .= '</h3>';
        return $buffy;
    }

All post titles transform to h3 on my homepage.

For example I want to:
-> widget post titles (h3)
-> article post titles (h2)

It is bad for SEO, when I have twenty titles h2 and zero h3.

  • This reply was modified 12 years by buttongts.
  • This reply was modified 12 years by buttongts.
  • This reply was modified 12 years by buttongts.
mehedi
Participant
#0

Hi!

I would like to make the Title of Posts which has sidebar to be full width. I mean the title should be full width (in one line, like full width posts:http://screencast.com/t/oxrW5uPu) and then the post content and the sidebar should appear. Here is an example:

I guess this is possible but couldn’t figure out how to. It would be really appreciated if someone from tagDiv or this community helps me out.

Regards,
Mehedi

dhvanesh
tagDiv Member

If the <p> tag has any “style” content, the inline adsense ad doesn not show at all.

Content of many posts are given justified style on my site. Here is the example:
http://www.igeeksblog.com/put-apps-on-the-notification-center-using-weespaces-cydia-tweak/

Is there any way to post Article Top ad slot after number of paragraphs instead of exactly below title?

One more thing, I experience drastic down in CTR and CPC in adsense since I have changed theme to Newspaper. Is there any tip to improve CTR?

Another important thing, Can I block specific third party scripts to load from responsive mobile site?

incontrol
tagDiv Member

Hi ! Thanks for the quick answers.

@Lucian
I inspected (as you told me) the select menu for custom field but strangly no traces of my custom (_mp3_url) field here too.. (for curiosity, I don’t get why some custom fields are shown in the select, some in a metabox and some are not ? )


@Christopher
Simmons or @Lucian, I inspected the function.php of the old theme, no trace of custom-fields definition. If I want a metabox for my custom field should I recreate it ? And if yes where can I do that ? Is there a good way to do it ?

Thanks a lot for your help.
Looking forward to read you (or an other developper angel who wants and can help me :).


<select name="metakeyselect" id="metakeyselect">
<option value="#NONE#">&amp;mdash; Select &amp;mdash;</option>

<option value="dsq_needs_sync">dsq_needs_sync</option>
<option value="dsq_thread_id">dsq_thread_id</option>
<option value="embed">embed</option>
<option value="enclosure">enclosure</option>
<option value="image">image</option>
<option value="post_views_count">post_views_count</option>
<option value="rating">rating</option>
<option value="seo_follow">seo_follow</option>
<option value="seo_noindex">seo_noindex</option>
<option value="skyali_custom-sidebar">skyali_custom-sidebar</option>
<option value="skyali_slider">skyali_slider</option>
<option value="skyali_video">skyali_video</option>
<option value="slide_template">slide_template</option>
<option value="td_homepage_loop">td_homepage_loop</option>
<option value="td_homepage_loop_slide">td_homepage_loop_slide</option>
<option value="td_mega_menu_cat">td_mega_menu_cat</option>
<option value="td_unique_articles">td_unique_articles</option>
<option value="track_shortcode">track_shortcode</option>
<option value="vc_teaser">vc_teaser</option>
<option value="votes">votes</option>
<option value="wpo_campaignid">wpo_campaignid</option>
<option value="wpo_feedid">wpo_feedid</option>
<option value="wpo_sourcepermalink">wpo_sourcepermalink</option></select> 
Viewing 25 results - 37,901 through 37,925 (of 38,683 total)