Search Results for 'amp'

Results from the Forum
pedroxi
Participant
#0

Dear Mr.
all my post has duplicated image
I have read some councils in the forum and off in Jetpack and have disabled the Photon, but continues to produce duplicate images in my post.
could give me some solution.
Thank you

examples

http://pysnnoticias.com/sin-valentia-no-se-gana-el-planteamiento-del-barca-recibe-criticas/
http://pysnnoticias.com/la-mejor-opcion-para-regalar-esta-navidad-cestas-de-navidad/
http://pysnnoticias.com/el-exmadridista-ivan-zamorano-tambien-aparece-en-los-papeles-de-panama/

Walther
Participant
#0

Hi,

I have been using static 728×15 link blocks in the footers of two of my Newspaper sites. However, for no apparent reason they will only show replacement ads on about 1 – 2% of my pages.

Google AdSense support has, therefore, recommended me to use responsive link blocks instead. However, I cannot make those work.

If I use the responsive link block with the setting “Auto” for desktop (in the Ads section of the Theme Panel), the theme will show leaderboards instead (728×90), causing layout problems and – on several pages – violating AdSense rule of max. 3 ads per page. If I choose “728×15” setting for desktop, no ads are shown.

Is there any other way of implementing a responsive link block in the footer?

My site: http://www.swedentips.se/ (now the static 728×15 link block is running in the footer)

And this is an example of where the static 728×15 will only show replacement ad (white colour): http://www.swedentips.se/activities/swedish-midsummer-wreath/

Thanks.

Walther

Babawomba
Participant
#0

Hi,

I want to use Media.net ads alongside Adsense ads. I can implement them without any problem using the Advanced Ads PlugIn, however when I use Media.Net ad-code, the Smart Sidebar and the Sticky Menu features stop to work.

Any idea how this can be prevented? The problem is definitely with non-adsense code and not the plugin or other settings.

Thanks,
Markus

Here a sample Media.Net code:

<script id=”mNCC” language=”javascript”> medianet_width=’600′; medianet_height= ‘250’; medianet_crid=’467682000′; </script> <script id=”mNSC” src=”http://contextual.media.net/nmedianet.js?cid=8CUL2C37J&#8221; language=”javascript”></script>

revistatrazos
Participant
#0

I believe the image speaks by itself.

Would like to make the size of the text + icons a little bit higher (maybe 2-3 points more)

Is it possible?

LINK: EXAMPLE

SITE: TRAZOS

Vinicius
tagDiv Member

Hi,

Did you see this: 404 Example: http://www.novonegocio.com.br/404/ ?

Thanks.

abarrell
tagDiv Member

Latest Newsmag Theme 2.36

Post template: Style 3

Example can be found at http://tweetperth.com.au/thirsty-top-beer-spots-in-perth-9103

In the post I have made the first image within the post full-width, which works on desktop having the image go take up 100% of the colum width, however on mobile it still leaves padding on the left and right of the image.

This was tested using chrome on iOS. Also testing on Safari I just realised that not images throughout the site load on Safari iOs, I am assuming this could be a plugin issue?

Andrei L.
tagDiv Member

Hi

This is a global settings and applies on all posts. To apply it only on some specif posts you’ll need to edit the function which generate the featured image for posts and add some additional conditions such that the image to be displayed only on desired posts: http://screencast.com/t/hgLBDXkR1Okh For example to display the featured image only if the post belongs to a specific category.

Thanks!

Bogdan B.
tagDiv Staff

Hi,
The modules will not break as they use the function from a different file, but there is for example one module that uses the function from here: module 15. This is not used within a block but rather the templates: blog, search…etc. If you use this module after your customization, it will have no post titles an no link to the posts themselves.
Thank you!

Bogdan B.
tagDiv Staff

Hi,
Please provide an example of your issue so we can inspect it and figure out the problem.
Thank you!

wwth
tagDiv Member

Hi!

Thanks…ok so I changed the code in td_module_single_base.php to now read;

/**
* Gets the article title on single pages and on modules that use this class as a base (module15 on Newsmag for example).
* @param string $cut_at - not used, it's added to maintain strict standards
* @return string
*/
function get_title($cut_at = '') {
$buffy = '';
if (!empty($this->title)) {
$buffy .= '<h1 class="entry-title">';
$buffy .= $this->title;
$buffy .= '</h1>';
}

return $buffy;
}

This appears to work fine for me although can you elaborate on “this is used for every post on the site”?

Are you saying that the titles appearing in Modules would no longer have links? (I am not getting that result)

Thanks!

🙂

Bogdan B.
tagDiv Staff

Hi,
Thank you for your kind words, It’s always pleasant to see our work is appreciated.
1) The search button does not have the option to be moved overt to the top menu. You can however implement the standard wordpress search box through the theme files. you can add this code:
echo do_shortcode('[vc_wp_search el_class="mycustomsearch"]'); in the top menu file here: http://screencast.com/t/zdLBnDZoox6 but it will require further customization.
2) Please provide an example of where the tags appear exactly.
3) There is no option to order the sub-categories. They are generated automatically so there is no way to have them in a particular order at the moment.
Thank you!

reaviel
tagDiv Member

Thank you , i will try to usse this example :
<?php
$logoSlug = ”; // Default
if (is_page(‘about-us’)) {
$logoSlug = ‘_blue’; //assuming that the about-us page has a logo_blue.png logo
} elseif (is_page(‘work’)) {
$logoSlug = ‘_white’; //assuming that the services/work page has a logo_white.png logo
} //continue along that way. Might be ways to do it with a switch, but this is the quickest I can think of
?>
.png” alt=”Photo Lab”>

Kind regards
KK

Andrei L.
tagDiv Member

Hi

When you’re using blog template the elements from Visual Composer can’t be added on page using the page-builder. However you can use do_shortcodefunction to display the big grid on blog page. Here is an example:
– first you need to get the grid’s shortcode. To do that add the desired grid on a blank page, set as you want then click on classic mode button to switch in back-end editor, copy the shortcode and paste inside do_shortcodefunction like here: http://screencast.com/t/GWIAj90xwep

<?php echo do_shortcode('[vc_row][vc_column][td_block_big_grid td_grid_style="td-grid-style-4" category_id="19"][/vc_column][/vc_row]'); ?>

Thanks!

  • This reply was modified 10 years by Andrei L..
Cultured Black Pearl
tagDiv Member

Hi, that code that you’ve shown doesn’t even appear that way in the td_video_support file. It looks like this:

<iframe id=”td_youtube_player” width=”600″ height=”560″ src=”‘ . td_global::$http_or_https . ‘://www.youtube.com/embed/’ . self::get_youtube_id($videoUrl) . ‘?enablejsapi=1&amp;feature=oembed&amp;wmode=opaque&amp;vq=hd720&amp;rel=0’ . self::get_youtube_time_param($videoUrl) . ‘” frameborder=”0″ allowfullscreen=””></iframe>

So how can I remove that first rel=0 that you’re showing in your screenshot?

Thanks,
Tenaya

Phonetic
tagDiv Member

Hi Bogdan.

I’ve implemented the changes to the backend and added a new option ‘Filter by categories and block filter’ for blocks (td_config.php)


    static function get_map_block_ajax_filter_array() {
        return array(
            //custom filter types
            array(
                "param_name" => "td_ajax_filter_type", //this is used to build the filter list (for example a list of categories from the id-s bellow)
                "type" => "dropdown",
                "value" => array('- No drop down ajax filter -' => '', 'Filter by categories' => 'td_category_ids_filter', <strong>'Filter by categories and block filter' => 'td_category_ids_parent_filter'</strong>, 'Filter by authors' => 'td_author_ids_filter', 'Filter by tag slug' => 'td_tag_slug_filter', 'Filter by popularity (Featured | All time popular)' => 'td_popularity_filter_fa'),
                "heading" => 'Ajax dropdown - filter type:',
                "description" => "Show the ajax drop down filter. The ajax filters (except by popularity) require an additional parameter. If no ids are provided in the input below, the filter will show all the available items (ex: all authors, all categories etc..)",
                "holder" => "div",
                "class" => "",
                "group" => "Ajax filter"
            ),

I’ve added an new case to td_block.php:


                    case 'td_category_ids_parent_filter': // by category AND block / menu category filter
                        $td_categories = get_categories(array(
                            'include' => $td_ajax_filter_ids,
                            'exclude' => '1',
                            'number' => 100 //limit the number of categories shown in the drop down
                        ));

                        // check if there's any id in the list
                        if (!empty($td_ajax_filter_ids)) {
                            // break the categories string
                            $td_ajax_filter_ids = explode(',', $td_ajax_filter_ids);

                            // order the categories - match the order set in the block settings
                            foreach ($td_ajax_filter_ids as $td_category_id) {
                                $td_category_id = trim($td_category_id);

                                foreach ($td_categories as $td_category) {

                                    // retrieve the category
                                    if ($td_category_id == $td_category->cat_ID) {
                                        $td_pull_down_items [] = array(
                                            'name' => $td_category->name,
                                            'id' => $td_category->cat_ID,
                                        );
                                        break;
                                    }
                                }
                            }

                        // if no category ids are added
                        } else {
                            foreach ($td_categories as $td_category) {
                                $td_pull_down_items [] = array(
                                    'name' => $td_category->name,
                                    'id' => $td_category->cat_ID,
                                );
                            }
                        }
                        break;

I could have done it the lazy way:


case 'td_category_ids_filter' &amp;&amp; 'td_category_ids_parent_filter':

But might as well add a proper case.

I’ve also modified td_ajax.php to handle category ids as an array (this is needed for td_data_source.php – see below):


				case 'td_category_ids_parent_filter': // by category AND block main category  - the user selected a category from the drop down. if it's empty, we show the default block atts

					if (!empty($ajax_parameters['td_filter_value'])) {
						$ajax_parameters['td_atts']['category_ids'] = array($ajax_parameters['td_atts']['category_id'], $ajax_parameters['td_filter_value']);
						unset($ajax_parameters['td_atts']['category_id']);	
					}

					// debug
					// $output = print_r($ajax_parameters['td_atts'], true);
					// file_put_contents('ajax_query.txt', $output);					

					break;

Finally changes to td_data_source.php:


        // if $category_ids = array then only get posts with main block / menu category AND ajax filter set
        // if $category_ids is an aray then prepare query with "category_and" instead of "cat"    
        if (!empty($category_ids) and is_array($category_ids)) {
            $wp_query_args['category__and'] = $category_ids;
        }

Checks for $category_ids == array and then prepares query with “category__and” instead of “cat”.

Changes enables you so choose the function with the main block / menu category id as parent for data in sub tabs.

Let me know if you guys want the diffs from code. I’m pretty sure a lot of your customers would love this imho much needed added feature.

Disregard the out-commented debug code.

Cheers 🙂

  • This reply was modified 10 years by Phonetic.
omaticlogistics
Participant
#0

Does anyone know why the theme is asking for google maps in http when i have my site on a secure https. Right after I switched to https I have been getting this in my inspect:

Mixed Content: The page at ” was loaded over HTTPS, but requested an insecure script ‘http://maps.google.com/maps/api/js?sensor=false&#8217;. This content should also be served over HTTPS.
(index):1Mixed Content: The page at ” was loaded over HTTPS, but requested an insecure image ‘http://csi.gstatic.com/csi?v=2&s=mapsapi3&v3v=24.8&action=apiboot2&e=10_1_0,10_2_0,11_9_0,11_10_0,11_14_U&rt=main.11&#8217;. This content should also be served over HTTPS.
ca?pid=hp01&aid=essence01&cid=8708795&plc=tr&js=st0&zi=1000:62 Uncaught TypeError: Cannot read property ‘clientWidth’ of nulltruste.ca2.initDoubleclick @ ca?pid=hp01&aid=essence01&cid=8708795&plc=tr&js=st0&zi=1000:62truste.ca2.initBinding @ ca?pid=hp01&aid=essence01&cid=8708795&plc=tr&js=st0&zi=1000:70truste.ca2.initialize @ ca?pid=hp01&aid=essence01&cid=8708795&plc=tr&js=st0&zi=1000:32(anonymous function) @ ca?pid=hp01&aid=essence01&cid=8708795&plc=tr&js=st0&zi=1000:34
js?sensor=false:45 Mixed Content: The page at ” was loaded over HTTPS, but requested an insecure script ‘http://maps.google.com/maps-api-v3/api/js/24/8/common.js&#8217;. This content should also be served over HTTPS.
js?sensor=false:45 Mixed Content: The page at ” was loaded over HTTPS, but requested an insecure script ‘http://maps.google.com/maps-api-v3/api/js/24/8/util.js&#8217;. This content should also be served over HTTPS.
js?sensor=false:45 Mixed Content: The page at ” was loaded over HTTPS, but requested an insecure script ‘http://maps.google.com/maps-api-v3/api/js/24/8/stats.js&#8217;. This content should also be served over HTTPS.
js?sensor=false:45 Mixed Content: The page at ” was loaded over HTTPS, but requested an insecure script ‘http://maps.googleapis.com/maps/api/js/AuthenticationService.Authenticate?1shttps%3A%2F%2F%2F&callback=_xdc_._c0vwsz&token=108943&#8217;. This content should also be served over HTTPS.
util.js:220 Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys
util.js:220 Google Maps API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-required

josflachs
Participant
#0

Hi, I got a major problem with images. My site is fast running out of disk space and exceeding bandwidth. What can I do to reduce the number of generated images, for that is the disk space culprit. Bandwidth comes from a lot of visitors. I didn’t expect +300 visitors per day in less than a week online.

I’m using on all categories:
category template: default
category top post style: grid 1
article display view: M2
thumbs on modules & blocks:
– 100×70
– 218×150
– 256×198
– 324×160
– 324×235
– 533×261
– 534×462

– Media (in WP itself):
thumbs: 150×150
– medium 300×300
– 1024×1024

I really need to trim this down as much as possible.

rowby
Participant
#0

*****************************************************************
UPDATE –I Realized I needed to unzip that file, and indeed I found the correct file to upload to WordPress and it worked fine. Here’s the file that you upload: Newsmag.zip

I do have one question. I see this file in the folder: patch_2.3.5_2.3.6 Do I just upload those files (via ftp, for example) to the server? Or are those files already included in the latest version — which I purchased and downloaded today.

BTW I installed the demo (Tech News demo) and it looks really great. So many features!

Rowby

*********************************
Hello

Just purchased and tried to install themeforest-9512331-newsmag-news-magazine-newspaper.zip

Wordpress Version 4.5

I get this error:

Unpacking the package…

Installing the theme…

The package could not be installed. The theme is missing the style.css stylesheet.

Theme install failed.

Please advise what to do. I need to make this site live ASAP.

Thanks
Rowby

simchris
tagDiv Member

See the support for the AMP plugin on WordPress.org plugin repository; this theme has no control over the plugin or the AMP template. Read the docs on the AMP support site for plugin on how to enable featured images, how to enable adsense, tracking, etc.

The AMP template is NOT part of the theme.

pasqualino77
tagDiv Member

Sorry but i not’ undstand

I try to instal amp and glue … but my page it’s a very sample

I don’t see a logo.

i don’t see a futured image.

see example http://wikitesti.com/il_canto_del_mare_-_frisina/amp/

I can isert a my banner? My traffic mobile are 70 %, if i don’t want change my banner with a Adsense banner. The adsense banner have a low cpm

Are possibile have a template for amp, with my banner?

Thanks

stocchetti
tagDiv Member

Hi, from 14th april I have the same problem: I do not see any post images on my website (in home page and in articles)
http://couponperme.com/
I see them in their direct link (for example: http://couponperme.com/wp-content/uploads/2016/04/Yves-Rocher-regalo-300×350.jpg)
Why don’t I see my images in all site? 🙁
I’ll wait for you feedback, thank you
Silvia

#0

I did the latest theme update this week and I also updated WordPress. I also updated Visual Composer. I refreshed cache numerous times since updating.

Two Problems:

1) Masonry galleries are not showing – example page where masonry gallery is in the code but not showing on page: http://mauimagazine.net/maui-photos/

2) I created new posts today, and some are not showing the sidebar, even though they should based on the category of the post. I have double and triple-checked the settings are correct in the Theme Panel and I can’t figure out why some new posts are getting a sidebar, and some are not. I have them correctly categoried by primary category and they should get a sidebar, but they are not.

Here are examples of posts I made today (backdated because it’s old archive content from our magazine):

These have sidebar, correct: http://mauimagazine.net/culinary-jaunt-lanai, http://mauimagazine.net/choosing-solar-contractor,http://mauimagazine.net/down-and-dirty, http://mauimagazine.net/deep-wisdom

These lack sidebar, incorrect: http://mauimagazine.net/exploring-aloha, http://mauimagazine.net/publishers-note-march-2012, http://mauimagazine.net/going-bananas

Cannot tell any difference as to why some are getting the sidebars, and some are not.

Can you help with these issues?

Thank you.

shootmanagement
Participant
#0

So many people ask how to stop related videos showing after their youtube videos have played. Then time and time again you post the solution: ‘?enablejsapi=1&feature=oembed&wmode=opaque&vq=hd720&rel=0’

Why can you not modify that file in all future updates? I don’t know why anyone would want to show related video from other people.

Just a suggestion, but it might save a lot of people a bit of time.

mhendiz
Participant
#0

hi

now i am using ad article inline ad. But i want secont ad in article.

for example first ad after 1. pararaph
second ad after 3. paragraph.

there are only 1 setting. i can t add second ad. Can you help me?

Vinicius
Participant
#0

Hi,

The 404 page from my website is opening all my posts after 404 notice.

How can I fix it?

http://prntscr.com/askvtl

404 Example: http://www.novonegocio.com.br/404/

Thank you in advance!

Viewing 25 results - 33,001 through 33,025 (of 38,683 total)