Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
nf_prt
tagDiv Member

Thanks! I’ve been needing this!

nf_prt
tagDiv Member

Hi,

this might not be the best way to do it but it’s how I have it working in my website:
file /wp-content/themes/Newspaper/includes/wp_booster/td_category_template.php

replace this:
protected function get_description() {
if (!empty($this->current_category_obj->description)) { // is needed?
return '<div class="td-category-description"><p>' . $this->current_category_obj->description . '</p></div>';
}
}

with this:
protected function get_description() {
if (!empty($this->current_category_obj->description)) { // is needed?
if (function_exists( 'qtranxf_useCurrentLanguageIfNotFoundUseDefaultLanguage' )){
return '<div class="td-category-description"><p>' . qtranxf_useCurrentLanguageIfNotFoundUseDefaultLanguage($this->current_category_obj->description) . '</p></div>';
} else {
return '<div class="td-category-description"><p>' . $this->current_category_obj->description . '</p></div>';
}
}
}

Remember this will disappear after a theme update, but tagDiv people will likely add compatibility for this in the mean time.
Hope this helps, cheers!

nf_prt
tagDiv Member

Hi,

I use qTranslate X. Never tried WPMU but I read about it when I faced the same question as you. You said “either WPMU or creating a multi site” but if I recall correctly, WPMU works as a multi site management system. WPMU physically creates X entries per content (1 per language) while plugins like qtrans create only one with all languages inside [sorry this is wildly phrased]. Multi site is supposedly good for performance because having the content separated makes it easier to serve it, while qtransx has to slice the content and extract the desired language upon request. Cache can fix this. Multi site is supposedly worse regarding compatibility and content consistency. It depends on the kind of use your site gets, and whether your content will greatly vary across languages or will be just straight forward translation.

I started with qTranslate and then moved on to mqTranslate, which was deprecated in favor of qTranslate X some time after. It’s not perfect but it’s the only alternative to the multi site option of WPMU, I believe, and it works very well, for a free plugin at least. The plugin is actively being supported and developed which is nice. The only thing missing is native multi slug support (same post has different URLs, one per language) but there’s a plugin for that and they say they will incorporate it in the future.

qTransX can give you a bit of work if you use some “non-mainstream” plugins as these sometimes do not take multi language support into consideration. Many mainstream plugins work flawlessly and others have plugins to extend qtransx compatibility. For instance, I use these ones:
WPBakery Visual Composer & qTranslate-X
WordPress SEO & qTranslate-X
WooCommerce & qTranslate-X
qTranslate slug (for the language based URLs)

Some configurations can have a performance impact in cheap servers, but with a well configured cache it’s actually pretty solid. I run a shitty shared server (for the time being) with ease but I do not use features like browser-language detection and redirection, I use the simple “language in the url” option (example.com/en/ example.com/pt/ etc).

In the end I think it comes down to the degree of support needed. “Hands on” kind of persons might be better off with qTransX, otherwise it might be good to check out WPMU forums and documentation to see if they offer the support it usually comes with premium stuff.

Cheers!

nf_prt
tagDiv Member

Hi,

that’s a wordpress setting. Go to Settings->General and then in the “Date Format” choose “Custom” and insert this in the text field:
j.M Y
Cheers!

nf_prt
tagDiv Member

Hi,

regenerate thumbnails plugins only “resize down”. If original image is smaller than the new size, it will leave those gray blocks. You can try Thumbnail Upscale plugin for those images. Cheers!

nf_prt
tagDiv Member

Hi,

I don’t see a logo in your site and I’m using desktop. The theme seems to be printing the image URL “http://www.planestrainsautomobiles.co.uk/wp-content/uploads/2015/06/PTA-logo-web-2.png&#8221; but server says that image is not there. Try to reset the image/logo at the theme panel.

About security, it’s a big topic.
Wordpress sites get targeted a lot, I would be very surprised if it was theme related. There’s many things you can do to help fight those bots and scripts, just a few I recall:

– admin user account should not be “admin”. bots try that account 1st thing and if they see the account is active, they’ll brute force try to guess the password. admin account should not be the name of the website, they try that 2nd.

– require captcha to login (but this hurts real users experience IMO)

– use a plugin to limit login attempts

I use a combination of wordfence plugin + cloudflare CDN.
Wordfence is neat, I don’t use premium edition, free one does a lot already, including some of the work a limit login attempts plugin would do. Supposedly, websites with wordfence communicate with wordfence services and if they spot an IP sweeping websites trying to login, they spread the word and it gets blocked. cloudflare helps cause they divert IPs with bad reputation and you can set it to high security (good in case of a big attack), which checks browser integrity, javascript execution and sometimes ask human interaction almost like captcha. They allow page rules so I keep the whole site with standard security but the wp-login page gets max.

Even with all of this, I still get targeted anyways. I know cause I have a rule to block IP for 30min if it tries to log in with “admin” and it triggers from time to time. Sometimes it comes in waves, specially after a big WP update cause bots go crazy over exploits discovered and they start scanning sites that didn’t update already. Just my 2 cents/experience, hope it helps, cheers!

nf_prt
tagDiv Member

Hi Emil,

thank you, it’s a good solution, cheers!

nf_prt
tagDiv Member

Hi!

import

It’s in install demos, deselect content to import settings only. Don’t forget to backup first.
Cheers!

nf_prt
tagDiv Member

Yes, with SHIM at work you only need visual composer activated to create new pages. Activate it to create new pages. If you need to create/edit pages all the constantly, this is a bummer unless you can manually edit the shortcodes. But I believe that usually, one does not need to be regulary editing/creating pages, at least I don’t. Maybe at the beginning of making a website, but afterwards you rarely create/edit pages.

Cheers!

nf_prt
tagDiv Member

Hi,

I don’t think it’s a good idea to go around posting the password of you database and stuff 😀

Chris S was saying to increase WP memory. Paste the following line in you wp-config.php file:

define('WP_MEMORY_LIMIT', '128M');

Paste it in between this two lines
define(‘WP_DEBUG’, false);

/* That’s all, stop editing! Happy blogging. */

nf_prt
tagDiv Member

then I’m out of ideas, sorry I was of no help :/ tagDiv staff will probably need acess to your site, if so they’ll ask you to send them an email.

googling for newspaper and some of the categories in your picture I think I found your site and it was missing some pictures and cloudflare displaying error 521 on https so I thought could be because of that. Anyways, you can check in cloudflare, in the Crypto icon and see if SSL if Off.

nf_prt
tagDiv Member

when this happens, are you connecting to your admin panel with a HTTPS connection?

nf_prt
tagDiv Member

Hi,

it’s working, I just posted filling in just the comment text area. Pls delete comment 🙂

Maybe it was “Users must be registered and logged in to comment” option.

Cheers!

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

Hi

are you connecting through https provided by cloudflare? might be some miss configuration, or is it like that with http already?

Cheers!

nf_prt
tagDiv Member

Glad I could help 🙂 I’ve just installed V6 on a virtual machine to prepare my upgrade and my social counters working flawless, even on localhost, so it should be a something at your end. But I don’t believe it’s even a bug or error, just some settings clashing.

If this is in the realm of the theme’s support, tagDiv staff will probably need to access your site to see what’s wrong and you can e-mail them with details.

However, I think you can also work around this by defining the full path to the icons:
edit file style.css located at the theme folder in wordpress
/wp-content/themes/Newspaper/style.css

at lines 19143 and 19151 you’ll find a small url, if you “complete” it with full path it should fix the icons issue.
replace url(‘images/sprite/elements@2x.png’) and url(‘images/sprite/elements.png’) with url(‘/wp-content/themes/Newspaper/images/sprite/elements@2x.png’) and url(‘/wp-content/themes/Newspaper/images/sprite/elements.png’), it should end up like this:

  /*  ----------------------------------------------------------------------------
      main sprite file
  */
  .td-sp {
    background-image: url('/wp-content/themes/Newspaper/images/sprite/elements@2x.png') !important;
    background-size: 90px 2100px !important;
  }
}
/*  ----------------------------------------------------------------------------
    sprite
*/
.td-sp {
  background-image: url('/wp-content/themes/Newspaper/images/sprite/elements.png');
  background-repeat: no-repeat;
  display: block;
}

if this doesn’t work at first, you might have to punch in the the whole url with “www” in it:
http://www.embracedominica.com/wp-content/themes/Newspaper/images/sprite/elements.png
but the whole url like this might pose a problem if accessing your site via https

(remember that updating the theme rewrites style.css file, after an update you’ll need to redo this “solution”)

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

Pls try embracedominica as you ID, should work.

nf_prt
tagDiv Member

Sorry I was of no help :/

Twitter isn’t working cause you might have filled in the wrong ID, at least if I try to visit twitter.com/3119409564 it says it doesn’t exist.

Cheers!

nf_prt
tagDiv Member

Hi!

I know what’s causing it but I haven’t upgraded to V6 yet so I don’t know any solution. It might also be caused by loop redirection or htaccess config.

In the css, the icon’s path is defined without “www”. At first I thought it was something like adblock but as soon as I typed in “www” the icons just popped out:

dominica

Hope this helps pointing in the right direction, tagDiv team will be here in the meanwhile if you can’t sort it out.
Cheers!

nf_prt
tagDiv Member

Muchas gracias! Very nice reading, nice tips, thanks for you time!

nf_prt
tagDiv Member

Hi!,

damn this should be a sticky thread 🙂
please see this: https://forum.tagdiv.com/topic/translation-to-russian-gallery/

cheers

nf_prt
tagDiv Member

Hi!
hope this helps,
1) please see this: https://forum.tagdiv.com/topic/translation-to-russian-gallery/

2) if you want custom CSS for indivual elements of the page see this: https://wpbakery.atlassian.net/wiki/pages/viewpage.action?pageId=524319
You can also place custom CSS in the Theme panel (theme panel-> custom css)

3) in the Theme panel click CATEGORIES menu, then select the desired category to show its options. There’s an option SHOW FEATURED SLIDER you can disable.

4) the theme “only” has twitter, fb, pinterest an g+ buttons. You can enable/disable them all at once, but not separatedly (theme panel-> post settings-> sharing).
Theme only has sharing buttons, you may want to have Open Graph too for better sharing. I use the theme buttons and yoast WordPress SEO plugin to manage the Open Graph.
There’s many things you can do:
– mannually add/remove buttons, edit file wp-content/themes/Newspaper/includes/modules/module_modifier/td_module_blog.php from line 64
– if you use jetpack plugin, you can disable the theme share buttons and enable jetpack sharing module, it has many buttons individually selectable and manages Open Graph too (but it’s bloated, bugged and dishonest – based on my opinion only)
– you can get a buttons plugin like Simple Share Buttons Adder and another for the open graph (yoast wordpress SEO, jetpack). Theres many plugins for this.

nf_prt
tagDiv Member

Sir, I believe you have found Newspaper 6 documentation, thank you 🙂 look at the breadcrumbs!

Nice to have a peek of the next version of the theme, including that new thumbnail sizes feature. Changing from w3 cache to wp super cache seems good too. tagDiv team said they were working hard to release it in the next couple of weeks or so.

Cheers!

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

Oh, I was referring to browser cache or it will show the old image.

I was not saying to resize the image you have, I said to change it canvas.
You can resize your logo from 150×150 to 100×100 and then change its canvas to 300×100.

Here, upload this and try it out.

As you can see in the theme panel, the theme expects a 300x100px image.

If you really want to use 150×150 you have to manually edit some files under the “parts” folder in your newspaper theme folder:
header-style-1.php (line 33)
menu-header-center.php (line 53)
menu-header.php (line 53)
replace width="300" with width="150"

The first solution has the advantage of persisting after an update while the latter needs to be redone after update (unless new version 5 of newspaper has more options).

nf_prt
tagDiv Member

Hi,

that’s because the theme “forces” the logo to have 300px of width. Your image has width 150px and gets “upscaled”, making the height of the image to be 300px as well.

Make a 300×100 px with your logo in it (even if the image is partially “blank”) and upload it. It should display correctly (remember to flush caches)

Hope this helps, cheers!

nf_prt
tagDiv Member

@nf_prt Starting with the next version of the newspaper theme ( newspaper 5 ) the theme will have panel thumbs option section (similar to the one that is already available in newsmag theme, that if you are using it) from which you can decide which modules you want to sue and disable the thumbs that you don’t need. Then regenerate thumbnails with a plugin like force regenerate thumbs or a similar one you can delete all thumbs and generate only those needed.

Great news Lucian, that is neat, thanks!

Viewing 25 posts - 26 through 50 (of 61 total)