- NewsmagUsing the theme translations together with WPML
- NewsmagHow to update a plugin
- NewsmagCustom Post Type Support
- NewsmagAbove footer ads
- NewsmagWeather Widget
- NewsmagHow to update the theme
- NewsmagIntroduction
- NewsmagLogo & Favicon
- NewsmagFooter templates
- NewsmagUsing other ads
- NewsmagCustom ad spots
- NewsmagArticle ads
- NewsmagSidebar ads
- NewsmagHeader ads
- NewsmagLoading image effects
- NewsmagCategory top post styles
- NewsmagSmart Lists
- NewsmagGeneral settings
- NewsmagTheme thumbs
- NewsmagtagDiv slider gallery
Hi. First i want to say thanks for this greate theme and please sorry for my bad english…
I habe a problem with my site page speed, i have reed all the posts that i have find (this and your documentation) but i can’t to make my website faster…
URL of my site: http://vidzo.ru/
Can you please say me step to step how to make pagespeed higher?
here is the code frome wp console
registered scripts
common | /wp-admin/js/common.min.js
admin-bar | /wp-includes/js/admin-bar.min.js
dashboard | /wp-admin/js/dashboard.min.js
customize-loader | /wp-includes/js/customize-loader.min.js
plugin-install | /wp-admin/js/plugin-install.min.js
media-upload | /wp-admin/js/media-upload.min.js
thickbox | /wp-includes/js/thickbox/thickbox.js
utils | /wp-includes/js/utils.min.js
svg-painter | /wp-admin/js/svg-painter.js
wp-auth-check | /wp-includes/js/wp-auth-check.min.js
wp_social_popup_js | http://vidzo.ru/wp-content/plugins/wp-social-popup-and-get-traffic/assets/js/plugin.js
ilentheme-script-admin | http://vidzo.ru/wp-content/plugins/wp-social-popup-and-get-traffic/assets/ilenframework/core.js
media-editor | /wp-includes/js/media-editor.min.js
media-audiovideo | /wp-includes/js/media-audiovideo.min.js
mce-view | /wp-includes/js/mce-view.min.js
image-edit | /wp-admin/js/image-edit.min.js
wpseo-admin-global-script | http://vidzo.ru/wp-content/plugins/wordpress-seo/js/wp-seo-admin-global.min.js
td-wp-admin-general | http://vidzo.ru/wp-content/themes/Newspaper/wp-admin/js/general.js
td-wp-admin-panel-js | http://vidzo.ru/wp-content/themes/Newspaper/wp-admin/js/wp-admin-panel.js
registered styles
admin-bar | /wp-includes/css/admin-bar.min.css
thickbox | /wp-includes/js/thickbox/thickbox.css
colors | 1
ie | /wp-admin/css/ie.min.css
wp-auth-check | /wp-includes/css/wp-auth-check.min.css
wp_social_popup_css_admin | http://vidzo.ru/wp-content/plugins/wp-social-popup-and-get-traffic/assets/css/admin.css
ilentheme-styles-admin | http://vidzo.ru/wp-content/plugins/wp-social-popup-and-get-traffic/assets/ilenframework/core.css
media-views | /wp-includes/css/media-views.min.css
imgareaselect | /wp-includes/js/imgareaselect/imgareaselect.css
wp-color-picker | /wp-admin/css/color-picker.min.css
google-font-ubuntu | http://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700,300italic,400italic,500italic,700italic&subset=latin,cyrillic-ext,greek-ext,greek,latin-ext,cyrillic
td-wp-admin-td-panel-2 | http://vidzo.ru/wp-content/themes/Newspaper/wp-admin/css/wp-admin.css
wpalchemy-metabox | http://vidzo.ru/wp-content/themes/Newspaper/wp-admin/content-metaboxes/meta.css
And this is code from my htaccess
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.vidzo.ru\.ru$
RewriteRule (.*) http://vidzo.ru/$1 [R=301,L]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
RewriteRule ^index\.php$ http://vidzo.ru [R=301,L]
RewriteRule ^page/([0-9]+)(/?)$ index.php?cstart=$1 [L]
I am using dedicated server / VPS
Thank you
I already had this code below which can have the page number on title when there are page lists:
<title><?php
global $page, $paged;
$site_description = get_bloginfo( 'description', 'display' );
if ($site_description && ( is_home() || is_front_page() )) {
bloginfo('name');
echo " - $site_description";
} else {
echo trim(wp_title('',0));
if ( $paged >= 2 || $page >= 2 )
echo ' - ' . sprintf( __( '第%s页' ), max( $paged, $page ) );
echo ' | ' ;
bloginfo('name');
}
?></title>
But don’t know how to make the title echo category name.
-
This reply was modified 11 years by
winnieji.
The docs for adding a mega menu with or without sub categories is the same- how can can I get sub categories in a mega menu that show in the bottom of the menu? Also, if there are no sub categories, there seems to be extra white space below the menu items.
Figured out how to work around the line breaks issue since the <br> tag is ignored in text edit.
Basically have to do:
Some text here is really awesome.
& nbsp;
» Click here to learn more.
Since this will not work
Some text here is really awesome.<br>
» Click here to learn more.
Hi guys,
I got two questions.
1) How to scale theme little bit smaller. Example compare pages http://ga-ga.com/gogaga/lifestyle/ and http://demo.tagdiv.com/newspaper/, the first one is smaller than the last one.
2) When I´m adding article photos WP automatically crops those photos and that´s why only the photos 750×400 are working. So, is there anyway to add photos example. 300×300 without cropping?
Thank you in advance.
We use the ‘limit login attempts plugin,’ which is very helpful. Also make sure you delete your admin account for WP and change the super user to a different name.
You might try this solution to add to functions.php
// Simple Query String Login page protection
function example_simple_query_string_protection_for_login_page() {
$QS = '?mySecretString=foobar';
$theRequest = 'http://' . $_SERVER['SERVER_NAME'] . '/' . 'wp-login.php' . '?'. $_SERVER['QUERY_STRING'];
// these are for testing
// echo $theRequest . '<br>';
// echo site_url('/wp-login.php').$QS.'<br>';
if ( site_url('/wp-login.php').$QS == $theRequest ) {
echo 'Query string matches';
} else {
header( 'Location: http://' . $_SERVER['SERVER_NAME'] . '/' );
}
}
add_action('login_head', 'example_simple_query_string_protection_for_login_page');
I believe you change foobar to whatever you want to be your login location and any query to wp-admin directly would go to home page.
Don’t do stuff like this unless you know what you’re doing.
e.g., make backup of functions.php first, and know how to FTP this, and then how to remove it if you are unable to login.
Hi all,
1- i need some help to adding shadow with transform to slide images
example http://www.neowin.net/
2- How to add ridiculously responsive social sharing buttons
example and code http://kurtnoble.com/labs/rrssb/
Thanks in advance
Is there anyway to override theme generated styling within the child theme stylesheet? For example, I am trying to change the border color of the menu for the current state. But, it looks like it’s being overridden by style compiled by the theme (within the theme settings color menu). Thoughts?
The color breakdown within the theme settings is very simple and doesn’t give you a wide range.
Problem with images in category
example … mydomain.com/category/category1
in the menu “Fooster” unseen images are wrong, rather than show a image, only show text from last actions done in the site looks, it is wrong, the whole site look good, but if they are in one category not
image: https://my.pcloud.com/publink/show?code=XZIUhkZ8e7nVFN1MtQMDzDQoDzmWf3QoUHk
kind regards
Depends on old theme vs new theme ….. obviously.
If you look at a snapshot of your old theme post page layout, count how many queries are being done for each section of the page. Do the same with the new theme.
For example on one of our sites, we changed the sidebar module to NOT show thumbnails with each item on the “latest items” list. We chose not to use megamenu. Etc.
Themes are not apples to apples unless identical layout and number of queries per page.
Visual Composer does add some overhead, sadly. But caching and mod_pagespeed, etc. help with that.
Not sure if that helped in any way, just some food for thought 🙂
Hi – hope this is something you can help with or at least be able to advise a compatible plugin that will work alongside your theme to allow the functionality i require.
I basically want to restrict all of my posts to subscriber only content, it won’t be a paid for site but i do want to capture some info details before allowing them to view the site content.
So the two things i require to set this up are:
1) How do i add extra fields to the register field (i want to capture 5 or 6 bits of info and also give them the option of a checkbox for newsletters etc)
2)I want them to be able to see the front page which will contain the standard ‘previews’ of posts ie feature image and short extract but once they click on a post or menu item i want the full post content ‘disabled’ until they sign up or login
An example of this can be seen on http://www.heraldscotland.com/ albeit they allow you to view 7 posts before a popup asks you to subscribe (they give some free articles as it is a paid for subscription service).
Hope this is something you can advise on. Thanks in advance, Tom
Hi,
Those VC features haven’t been tested. You can use the advanced css filed from theme panel to add css that applies just the a specific device screen width.
Ex: This will hide the post title from post template 8 on mobile only: http://screencast.com/t/rmzEKl71H
You can use them and built css for the parts sections you don’t want to show on mobiles/tablets/dektop screens and add your css like in the example.
You can also use this VC general setting: http://screencast.com/t/R6d2ES9hWz and set a custom class which you can use to target and hide the sections you don’t want.
Please open anew topic and post you questions in the main forum.
Thanks
Hi,
Unfortunately there is no option for this if you are displaying for your front page latest post. Visual Composer plugin works only on pages, so if you change to front page static: http://screencast.com/t/sm1LGx0DV and you build an Homepage you can always add that block above the footer.
For example I use a block 5 for Latest Articles, a Widgetised Sidebar and Block 16 for Latest Videos:
http://screencast.com/t/I1QDWDrg
For your setting on block 16:
http://screencast.com/t/Tv1OAQhv9XO
http://screencast.com/t/ZjJ61rph7A
http://screencast.com/t/b8sUu7ogV
Hope this helps!
Thanks Chris S, thanks Lucian
1. For Adsense, is pasted but the ad is not displayed on the header, right of the logo. http://www.infosen.net (can’t even see the source code from the browser)
I have the same problem with sidebar ad. see the title on the sidebar Pub G it’s an adsense test. I got white space.
i have a correct adsense account, my ads are well displayed here http://www.senclip.net
2. for iframe, no problem with youtube code for example.
but this
<iframe id=”cilStreamFrame-0c51086034″ class=”cilIframe” src=”http://www.coveritlive.com/embed/stream.v2.html?linkTo=http%3A%2F%2Fwwwssl.coveritlive.com%2Fembed.html%3FaltcastCode%3D0c51086034%26srcdom%3Dwww.coveritlive.com%26srcdomsec%3Dwwwssl.coveritlive.com%26height%3D750%26entryLoc%3Dtop%26commentLoc%3Dtop%26titlePage%3Doff%26replayContentOrder%3Dreverse%26embedType%3Dstream%26titleImage%3D&ac=0c51086034&height=750″ height=”750px” width=”520px” frameborder=”0″></iframe>
din’t work on http://www.infosen.net/?p=165
(but i love this template !)
thanks
Hi,
For example for post template 3 you can use this css to change attribute values or add animations, hover effects: http://screencast.com/t/149APqTeyJ
.single_template_3 .td-post-featured-image img:hover {
max-width: 90%;
margin-left: 53px;
}
.single_template_3 .td-post-header-full h1:hover {
color: red;
font-size: 50px;
line-height: 50px;
}
You can find online tutorials related to this. Here are some css hover effects for example: http://www.corelangs.com/css/box/hover.html or http://designshack.net/articles/css/joshuajohnson-2/
Thanks
Hi,
I followed your example and I reproduce it: http://screencast.com/t/idvu1mAg3O
If you want to change only “large2 green” button please use this css:
.wpb_button.wpb_green.wpb_size_large2{
font-size: 30px;
}
If you want to css apply to all buttons you can use .wpb_button class: http://screencast.com/t/EWocj0Bfg
.wpb_button{
font-size: 30px;
}
Use !important if this is not apply:
.wpb_button{
font-size: 30px !important;
}
Hope this helps!
Google doesnt allow ads to load in iframe.
But a normal iframe should work.
Can you post link to a sample page?
I really need to make changes to this button. I’m aware i can get free code for buttons. My question is how do i call it up? For example I just want to make the green button font size bigger..
What would be the correct code to call it up?
Theme Panel/YOUR CUSTOM CSS/
.wpb_size_large2 {
font: bold 50px Sans-Serif;
}
or
.wpb_button {
font-size: 60px;
}
Thanks
Hahaha… got it!
Be patient, I´m learning.
There seams to be some strange action on your “block 3”
see: http://www.kungalvsnyheter.se/debatt/?preview=true&preview_id=729&preview_nonce=4cfad58862
Isn´t the articles gonna be big and one under the other? not many small?
Cheers,
Joakim
I have a few questions 2 are menu related and the other are photo problems. The website is for Newspaper Publication, so I need things to be presented in a certain manner.
I tried to use the mega menu for the Sports page on my site, I was unable to to get it to function in the manner in which I want. I need to be able to change where the location of the mega menu items go to, (Under my sports page/category I have a whole list of sports like basketball, baseball, football, etc.) at the moment mega menu will only take you to the category page of a sub menu item. I need it to go to a actual page not a category (for example when I hover over sports and the menu flies out, it shows the different types of sports but when you click on that sport, it goes to that sport category page instead of the sport page I have set up) I need to be able to the actual page instead of the category because when it goes to the category page all the content from that category is displayed all on one page and I have no actual way to change the category page.
The other menu issue I have is that I need help to be able to display a second menu on certain pages and or only display certain menu items on certain pages. How do I go about doing that?
I’m also having the problem of having my featured images being cut off when they are displayed on various pages, they are being cropped in weird spots and it makes them look terrible. How do I correct this?
Hi,
Can you give me some guidance atleast where I can start to do them myself I have some knowledge so I think I will be fine just tell me what file I need to edit and some example tutorials etc.
Thank you in advance.
Hi, Lucian!
Thanks for fast respond.
Maybe i call it wrong, maybe isn’t ajax load.
Better just check my vdo of this problem – https://www.youtube.com/watch?v=RJJ3y92VAh8&feature=youtu.be
As u can see page load very fast, but images… (it take exactly 7 sec like gtmetrix test)
Is it passible to turn off this “lazy load” feature?
Link to example?
Hi there,
I want to know is it possible to add the icons from visual composer and assign them to the menu. For example I want to have a computer icon representing my pc section on the menu. I don’t know if its possible or I have to use another plug in. Also I want to know how can I set margin for the Logo and menu so I can reposition them the way I want and also how can I move the advert from the header above the Big slider.
You can see my sites …
production site now live with Newsmag as of this past weekend; this was old news portal in our network moved from ooooold pre 2009 template system, and still tweaking: http://floridanewswire.com
And here is my test (hobby) magazine site- http://ga-ga.com – which is an ongoing process as I’m basically rescuing content from several of our “defunct” websites and moving them into ONE shiny new place while we’re doing original content as well… it’s not technically a live/promoted site, even though it’s being shared in social – it’s not in Google News, for example, while the Florida site is.
Sites are not fully optimized… meaning minification and font optimization not yet done, as I had done with Newspaper theme. In any case they look great on all devices (well. logos still need to be tweaked for mobile …. but that’s my job, not the theme’s problem).