Search Results for 'amp'

Results from the Forum
simchris
tagDiv Member

Try testing your page with gtmetrix.com
as it will tell you explicitly what you need to fix; with examples.

Start first with the “server” items, then the image optimization issues, then minimize loading external stuff (like 6 ad networks on some sites give really bad score).

simchris
Participant
#0

FYI:

go to your wp settings > general

and in the time/date settings be sure to put in the time/date stamps you want in the format you want;

eg. for custom date format
M j, Y H:i:s O T

http://screencast.com/t/wgFVrkihMo

result:
http://ga-ga.com/2549/book-review-tons-of-corruption-in-america-venality-has-been-in-bloodstream-of-politicians-since-founding/

Jan 16, 2015 20:15:35 -0500 EST

ref:
https://forum.tagdiv.com/topic/time-stamp/

simchris
tagDiv Member

oh….
stupid me….

go to your wp settings > general

and in the time/date settings be sure to put in the time/date stamps you want in the format you want;

eg. for custom date format
M j, Y H:i:s O T

http://screencast.com/t/wgFVrkihMo

result:
http://ga-ga.com/2549/book-review-tons-of-corruption-in-america-venality-has-been-in-bloodstream-of-politicians-since-founding/

Jan 16, 2015 20:15:35 -0500 EST

ref:
https://forum.tagdiv.com/topic/time-stamp/

  • This reply was modified 11 years by simchris.
  • This reply was modified 11 years by simchris.
simchris
tagDiv Member

I think you can edit the module to add the additional WordPress time settings like hour / minute / second 00:00:00 — somebody else asked about this I recall, so might be findable in the forum while waiting for more specific reply.

not sure though, might be another place that is done.

We actually need to do that for the post pages, too.

in loop-single-1 for instance I see
<?php echo $td_mod_single->get_date(false);?>

so, ref:
http://codex.wordpress.org/Function_Reference/get_the_date

normal usage
<span class="entry-date"><?php echo get_the_date(); ?></span>

with time format
http://codex.wordpress.org/Formatting_Date_and_Time

<span class="entry-date"><?php the_time('l, F jS, Y') ?></span>

or

<?php the_time(get_option('date_format')); ?> – <?php the_time(); ?>

Something like that. If you get working solution, please post an example of when/where, and I will try to do the same 🙂

  • This reply was modified 11 years by simchris.
runnershigh
tagDiv Member

Hi Alin,

This for your answer, but this is not what I mean. I want to show more articles on a tag page, for example: http://www.runners-high.nl/tag/londen-marathon/

At the moment this page only shows 5 articles I want that number to be 9 or maybe infinite load.

Is this possible?

Thanks in advance!
Tim

ajaffarali
Participant
#0

I’ve seen some sites have an opaque sidebar where when you scroll the content below it shows in a blurry way. Looks slick. Is it possible to do that with Newsmag? Here is an example- it works with the sticky nav bar so scroll half-way down the page and then back up to see what I mean: https://pagely.com/blog/2015/01/create-beautiful-image-galleries-free-photo-gallery-plugin/

PaulEide11
Participant
#0

Hello Guys,

Love the theme, it’s great, thank you for creating it. Scoured the forum for this issue and didn’t find anything similar.

On some posts, (like this one: http://www.sportsdouchebags.com/2014/12/22/odell-beckham-jr-2014-stats-almost-equal-drew-bennett-2004/) it does not show “Similar Articles.” I’ve tried changing by Category, Tag & Author and nothing seems to solve this.

Please advise.

Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

All those blocks you’ve mentioned work fine on your page: http://screencast.com/t/GQN6ytO9ZCA2
If you refer to the thumb images that don’t look right, like in this two cases: http://screencast.com/t/I0dX14CbP then please note that this happens because of the cropping function and to somehow avoid this you could an image near to the aspect ration of the thumbs in which you want it to look well. You can read more about aspect ratio here: http://digital-photography-school.com/aspect-ratio-what-it-is-and-why-it-matters/
You can also read more about function which creates the thumbs and WordPress cropping here:
1. http://codex.wordpress.org/Function_Reference/add_image_size
2. http://www.davidtan.org/wordpress-hard-crop-vs-soft-crop-difference-comparison-example/
Also note that if you decide to change some thumbnails sizes you’ll need to regenerate thumbnails again in order to apply changes.

I saw that you use the Default page template and block 13 for Latest article. You also can use “Pagebuilder + Latest articles + Pagination” that Lucian refereed and your Latest articles will be automatically added on your page with your sidebar like you want: http://screencast.com/t/YK4uHRkthO
After you set the page template, you can set the layout and the sidebar position for your Latest article: http://screencast.com/t/mMRar9DuB
Result: http://screencast.com/t/qWaRffzf3

If you want to use a block for your Latest Articles(what you use now), you can add a sidebar using Widgetised sidebar block like this: http://screencast.com/t/NIvBfOkMq

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

Also you can use another block for your Latest Article:
http://screencast.com/t/BoSBS6lU
http://screencast.com/t/7KOJG4jyO
http://screencast.com/t/1vYj3yXFAu

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

Regarding ads you can follow our guide: https://forum.tagdiv.com/ads-system-full-guide/
Also is useful our documentation: https://forum.tagdiv.com/newsmag-documentation/

Hope this helps!

rustypig54
tagDiv Member

Just a heads up my sample link I had to insert the regular adsense code for now (so ignore it as an example of it not working) but yeah for some reason when the responsive code is delivered through an adserver it doesnt want to resize to 728×90

ned4spd8874
tagDiv Member

Thanks @Lucian, I don’t use captioning. Here’s an example post on my site: http://aftercredits.com/2014/07/howard-duck-1986/

Lucian
tagDiv Staff

Hi,

Use the div’s suggested in this documentation under “Header Banner example code:”: https://forum.tagdiv.com/ads/

Thanks

Finland
tagDiv Member

thanks but this code all removed description. some articles have a description.

example

i must be add her name (donald trump)

31

but i don’t want a add description with some gallery. just show on number.

31

  • This reply was modified 11 years by Finland.
  • This reply was modified 11 years by Finland.
JanneF
Participant
#0

Using static homepage in settings -> read I have defined http://www.chooyu.se/hem/ as my start page. However when I use the search widget it searches from that folder which render a 404 page. Example http://www.chooyu.se/hem/?s=inspiration

If I (manually) enter http://www.chooyu.se/?s=inspiration everything works like a charm. How do I get the search to do this?

The permalink of http://www.chooyu.se/hem/ is http://www.chooyu.se.

BTW – the same goes for the logo which links to http://www.chooyu.se/hem/ instead of http://www.chooyu.se

Thanks in advance for any advice

Finland
tagDiv Member

thanks but i think u don’t understand, because my english is bad sorry 🙂

i want to be a just show number. no more number description.

ee

example on my site

uu

i want

ss

  • This reply was modified 11 years by Finland.
Finland
Participant
#0

can i show numbers without h tag ?

sample site

ee

simchris
tagDiv Member

You need to be sure to clear all your cache both on server and your web browser.

Be sure you followed my “moving from one to the other” instructions for the migration, also 🙂

For example this demo post is obviously running Newspaper and *not* Newsmag, as it’s “widescrenn” — with wider layout with no borders:
http://lordreamrichard.com/2015/01/td_d_slug_45/

So, that page is clearly *not* running Newsmag theme.

Feedup
Participant
#0

Hi,

I have the settings correct and the Featured Image used to load on all posts pages.

Please visit my site for an example: http://feedup.ca/cute-pets-or-animal-cruelty/ .

I looked into the code and the following property might be an issue:

The display:none is causing the issue I’m guessing?

But my back end theme template has featured image turned on. Everything seems to be correct.

Please advise!

simchris
tagDiv Member

Be sure your site is properly configured to use

http://site.xyx
or
http://www.site.xyz
but not both!

Google does have a listing for you here
https://www.google.com/search?safe=off&amp;q=crnjaci.com&amp;oq=crnjaci.com&amp;gs_l=serp.12...10771.10771.0.11825.1.1.0.0.0.0.95.95.1.1.0.msedr...0...1c.1.60.serp..1.0.0.136OryrssXc

Arhiva Humanitarni koncer - Mostarski crnjaci

crnjaci.com/oznaka/humanitarni-koncer/

Translate this page
Dec 18, 2014 - 'Svečanost svjetla, humanitarni koncert, čiji će prihod ići dvjema udrugama roditelja djece sa posebnim potrebama, navedeno je iz OI ...

Božićni turnir HVIDRA Mostar 2014 - Mostarski crnjaci

crnjaci.com/?attachment_id=878

Translate this page
Dec 7, 2014 - Mostarski crnjaci · Ostali crnjaci · Vijesti · BiH · Mostar · Svijet · Sport · Magazin · Zabava · Zanimljivosti · Čudesni svijet · Media · Foto Galerija ...

Lucian
tagDiv Staff

Hi,

Use it like this:

function SearchFilter($query) {
    if ($query->is_search &amp;&amp; ! is_admin()) {
        $query->set('post_type', 'post');
    }
    return $query;
}
add_filter('pre_get_posts','SearchFilter');

.. or just add the &amp;&amp; ! is_admin() part to the condition.

Thanks

  • This reply was modified 11 years by Lucian.
vdaatland
Participant
#0

Hi!

We have a strange issue with some of our articles. For some reason they won’t load with the new wonderful newsmag theme.

1. When logged in the articles look like they should. For those who’s not logged in the error occurs
2. We have latest wordpress version installed, re-installed it just in case (same goes for all plugins)
3. Cache has been cleared.
4. This error onlye applies to some posts.

An example of a post:
http://serienytt.no/2014/09/fjernsynt-podcasten-episode-14/

Do you have any idea of what the issue might be?

hoops
tagDiv Member

hi! that did the trick, thanks!

i have a follow-up question, hope you wont mind…

i have a sportspress &amp; disqus plugin widget on my sidebar, before switching to newsmag (my previous theme was sahifa) – the font size of the 2 widgets were normal… after switching to newsmag, it increased in size (much bigger than the font size of the content) – making the page a little bit awkward looking…

would you happen to know how to adjust the sizes of the font in the widgets in the sidebar?

  • This reply was modified 11 years by hoops.
mm-2
tagDiv Member

I am sorry for the late replay, but disabling the content filters as the plugin authors suggested didn’t do the trick. I have the latest version of the Newspaper theme, WordPress &amp; NGFB plugin installed and it’s still not working.

Plugin authors said that problem is not in the plugin, but in the theme and I’m being sent back and forth between two parties.

Although I noticed that pagination works when I change the permalink structure from “Post name” to “Default”.

Lucian
tagDiv Staff

Hi,

I’m not sure how you could do this as the theme loads the same content as on desktop on mobiles screens also and you can turn that off and using an mobile theme/application will just load the page content for example which will lead you into this issue: https://forum.tagdiv.com/how-to-manage-the-mobile-theme/
Based on this I’m not sure how you can achieve this, you could use js to detect mobile screens and load different content or a plugin that work this way.
We plan to add an option for this in future updates and we are still searching for the best implementation for this so we can’t offer you any answer on this at this moment.
Sorry for the inconvenience!

Thanks for your message and for understating!

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