22359 comments found.
Hi AJ,
I’ve got a problem with one of the widgets. Had it for a while now but I thought I’d bring it to your attention to stop you from going out on New Years Eve 
It’s this Total-Recent Posts widget – everything is going really well with the posts that have just been published, so don’t bother with that bit.
The problem I’m having is with the CPT posts, when being set to a random order, the same three posts are always shown.
The problem can be seen at midlandsmaidens-escorts.com (NSFW) in the footer, on the bottom left.
Any help with this would be most appreciated!
Hi again,
It’s working when I check locally – https://cl.ly/oZqQ – and I the code itself is also correct. Some hosting companies though disable random posts it’s possible that’s the issue you have. For example WPEngine – https://wpexplorer-themes.com/total/docs/random-order-wpengine/
If you are using managed WP hosting ask your host if they disable random order and if it’s possible to enable it.
If not, it’s possible a plugin is causing a conflict and you’ll want to disable 3rd party plugins to check.
- AJ
Gotcha, its the ‘Post Types Order’ plugin.
I seem to remember that I’ve had problems with this one before.
Are there any alternatives?
I believe the plugin has an option under the main settings to disable the auto sort, can you please check?
Any custom order plugin would have the same affect if it’s sorting automatically since it must target all queries (because it’s automatic it can’t magically know where you need sorting and where you don’t).
- AJ
Yes, its got a ‘disable auto sort’ checkbox – the only problem with unchecking is that the posts go back to their original order.
Its looking like a manual re-ordering of posts by date is the only thing that’ll work.
Which posts? If you are referring to a specific page builder module you can sort by menu order – https://cl.ly/obVW
And if you are referring to your archives like the main blog page, categories…etc. It’s very easy to add a little code by hooking into the pre_get_posts function to sort by menu_order as well as mentioned at the bottom of the docs here – https://wpexplorer-themes.com/total/docs/reorder-post-types/
- AJ
It was for my portfolio posts that were in a footer widget, but the problem was that these had already been sorted by the ‘Post Types Order’ plugin.
On hitting the ‘Random’ option in the footer widget, the posts appeared no problem – but always in the same order.
On disabling the Posts Types Order plugin, the posts fired up as intended.
I’d love to go back to using the footer widget, but I’ve now put a ‘totty box’ in it’s place 
Of course if any suggestions can be made, it would be most welcome!
I understand the issue was with the footer widget. What I was asking was what were you using the sorting plugin for. Because you can disable the auto sort and then enable the custom sorting as needed so it only affects the areas you want it to affect and not all queries.
Make sense?
- AJ
Yes the posts that are being used for the widget are those in the portfolio, which are now sorted by Posts Type Order to place them alphabetically.
Disabling the Auto Sort allows the portfolio posts in the widget to appear randomly, but in turn shows the actual posts to appear in their date order.
Enabling the auto sort shows the posts in alphabetical order, but does the same in the widget, ie no randomness.
Therefore I reckon that the only way to get around this would be to re-timestamp all my posts, portfolio posts, and staff posts and get rid of the plugin entirely.
When you say “actual posts” I am assuming you mean in archives and page builder modules.
If you disable auto sort for any page builder module you just have to update it and set the orderby option to “menu_order” – https://cl.ly/ocTk
And for any auto archives like the blog, categories, tags…etc. You can use code like the example on the docs shared previously – https://wpexplorer-themes.com/total/docs/reorder-post-types/
No need to re-timestamp everything when you can fix it up in a couple minutes 
- AJ
Right, so ‘Menu Order’ is the same as order alphabetically?
Okey dokey, we’ll give that a go!
Super stuff – looks perfect now.
Thanks AJ!
The confusion concerning the Visual Composer Plugin Version Continues…:grin:
When I follow the link to the plugin’s website, Version 4.12.1 | By Michael M – WPBakery.com | Visit plugin site, it has a button for a Premium version.
Is it the same plugin? It seems to offer additional features. Can I purchase it and use it or will your furnished plugin eventually be updated to the premium, if it’s from the same offer?
Thanks!!! Lee
I also just searched for the same plugin on Envato and came up with “WPBakery Page Builder (formerly Visual Composer) – current version 5.4.5 available for download!”
Is this the same as what is furnished in the Total Theme that seems quite a bit older?
Thanks!!! Lee
Hi Lee,
Sorry for any confusion. The plugin developers are liking to a different plugin in the dashboard (they are actually redirecting people from an old site to a new one, which is agains Envato terms) thank you for letting me know! Their correct link should be going here – https://wpbakery.com/ – which is the plugin included with the Total theme (exactly the same). I’ve just contacted the plugin team to make sure they aren’t doing this redirect because it’s confusing to the end user.
The plugin included in Total is the one you can purchase here: https://codecanyon.net/item/visual-composer-page-builder-for-wordpress/242431 – but it’s free with Total.
Yes, it is an “older” plugin but in my opinion still much better and it still receives updates/fixes.
The newer plugin they made dumps HTML on the page (as opposed to shortcodes) which while faster, it’s a lot less flexible.
That said…You can use ANY page builder plugin you want with Total. So you don’t have to technically use the bundled WPBakery Page builder. I have a lot of customers using different builders such as Elementor, Beaver, Site Origin and some are using the new Visual Composer. Total is a powerful framework which is why people use it and most do use the included page builder but don’t feel like you have to. If you have a page builder you prefer to use, feel free to use that one!
Please let me know if you have any other questions or doubts. Happy New Year!
- AJ
Hi AJ, and thanks for the detailed explanation. I’ll stick with your recommendation for sure! Just a little more confused than usual.
Another thing I noticed is that I’m using Total Version: 3.6.0, so I must be a dufus for thinking it automatically updated itself. I think I confused that with GoDaddy automatically updating Wordpress.
That said, can you tell me the most straight forward method to do the update? I’m using a Child Theme.
Thanks!!! Lee
Hi Lee,
The plugin developers actually replied already to me! And they are fixing the link in their upcoming update, it was just a mistake.
Regarding updates, theme’s don’t auto update. There are many reasons for that. For example if you created a client site and you modified things you don’t really want the theme to auto update. Or if you have a very large important website you want to make sure to test updates on a stagging development before pushing them out live. Or if there is an error with an update and it auto update your site could be down without you even knowing.
I recently added a new function for the theme to provide updates via my own API but previously I was making use of the Envato Market plugin. All the docs for updating can be found here – http://wpexplorer-themes.com/total/docs-category/updates/
And the changelog can be found here – http://wpexplorer-themes.com/total/changelog/
If you have any issues during the update let me know.
- AJ
Hey AJ, I found the Envato Toolkit plugin, but when I click to Update to 4.5.3 Automatically, it gives me the warning that all customization will be wiped out.
I do have an Active Child theme. If I update Automatically, will my customization be retained?
Thanks!!! Lee
Hi Lee,
This is a general WordPress notice that always shows up when updating a theme. Basically it just means if you manually edited the theme that you would lose those changes. It’s a scary notice and I hate that WP adds it because it is confusing.
All your theme settings, pages, etc are safe in the database so no need to worry. The only thing to worry about is manual changes to the theme files like if you manually changed the style.css file. As long as you have done any advanced edits via a child theme you are good to go.
- AJ
Hi AJ, Thanks for all of your help! I think I’ve got it straight now, however, I still have a problem with tabs on my Contacts page, https://leecarter.net/contact/.
The “Nash” tab is always highlighted to begin with, and I’ve got it set to something like “101” (can’t remember I’ve changed it so many times), so that non will be active. I was hoping the Visual Composer would fix that, but now yet.
Thanks!!! Lee
Hi Lee,
Your page builder plugin is very outdate it’s showing version 4.12.1 but the latest version included with the theme is 4.5.5 – wpexplorer-themes.com/total/changelog/
Make sure once your theme is up to date to go to Appearance > Install Plugins and update the bundled plugins as well.
- AJ
If you still have issues with the tabs let me know!
Hi AJ, Since the last theme update I have a translation issue: In the WooCommerce product details page, the “reviews” and “be the first to review” strings are not translated to german. See here: https://www.geistigewelt.tv/shop/channelings-auf-cd/die-macht-der-gedanken-cd/ How can I get this in german? Thanks!
Hi,
These were added recently. Total includes a customer submitted german translation file but it’s not 100% complete. You can modify the file at Total/languages/de_DE.po – but for complete translation control on your site most customers prefer using plugins like this one – https://wordpress.org/plugins/loco-translate/
- AJ
Got it! I was looking in the woocommerce-de_DE.po first. Didn’t know I had to check the Total/languages/de_DE.po
Thanks and a Happy New Year! 
Oh yes, sorry this was a modification I did exclusive for Total as it was highly recommended 
Happy New Year to you too!
- Aj
Hi, How can I add category name to breadcumbs? And my some plugin conflict with Visual Composer and I cant disable VC for editor, can I do it with function.php and another question. Can I activate VC for specific page for editor? Thank you very much.
Hi,
Categories are added by default in the theme’s breadcrumbs. But if you are using WordPress SEO by Yoast then you need to tweak your breadcrumb settings for the plugin.
Regarding the page builder, I’m not sure what you mean exactly. Do you want to use the page builder only on 1 page?
- AJ
AJ, Can you plz show me the option in the customizer to style the search sidebar widget?
Basically, i want to change its color / border & text color to make it stand out more.
SCREENSHOT : http://prntscr.com/htuhr5
Hi,
There isn’t any built-in setting (it would just be added bloat) but it’s very easy to do with CSS. Example:
#sidebar input[type="search"] {
background: #fff;
color: #000;
border: 2px solid #ddd;
}
- AJ
Thanks! That worked perfectly…
Hi AJ, I am trying to add a right indent to the first line of a text paragraph to achieve the below effect.
SCREENSHOT : http://prntscr.com/htrpkg
However, the indent option indents the entire paragraph as per the below screenshot. I also tried adding 5 manual spaces to the first line but it does not reflect.
SCREENSHOT http://prntscr.com/htrq3cThe WordPress editor doesn’t keep any white space it will always get stripped. To do this you’ll basically need to create your own shortcode that adds a horizontal spacing that you can use on your site. Or (better) just target the paragraph to add a little left padding with CSS. Where are you trying to do this, can you share the live url
- AJ
Thanks. I don’t think i want to setup a custom css for each paragraph since it would not be scalable.
The site is under development and hence not live yet. I think i’ll just live with this for now.
Mohammed
Well you can add custom CSS to target multiple locations which is why I was asking if you had an example of what you want to do so I can see if and how it would be possible.
- AJ
Let me keep this on the backburner for now and revert back once the site is made live. Thanks
Hi AJ, Please refer to the below screenshot.
http://prntscr.com/htpba9I want an item (image or optin form) in the blog sidebar to stay sticky when the page is scrolled up to encourage the visitor to optin.
Please note that out of the other blog sidebar elements, i only want this one item to remain sticky to the right side upon scroll.
Example effect : On the blog https://www.quicksprout.com/blog/, only the below image stays sticky upon page scroll.
http://prntscr.com/htpciu http://prntscr.com/htpcs9Hi,
This is definitely possible via a custom javascript or using a sticky widget plugin (there are a few out there for this).
- AJ
Hi, Thanks – i found a plugin that does this. Appreciate your response.
Hello!
I’m having a bit of a problem with my sites mobile version. I have used rows to create the layout and when I change the view to mobile the rows aren’t positioned horizontally anymore, but rather vertically. For example, I have a text block on the left and a image on the right (inside a row), and I’d like them to stay side by side. But on mobile they are one below another.
Am I doing it wrong by using rows? Or is there some way to “lock” them in place?
Thank you in advance!
Hi there,
By default all columns turn into a single column on tablets and smaller (this is how all responsive sites/themes work). This is because there usually isn’t enough room on mobile to have all the columns side by side and look good.
Are you wanting only a specific section of a page/pages to stay at the same columns? Or do you want to completely disable responsiveness so that your website works exactly the same on mobile as it does on desktop?
- AJ
I see! I’d really like to completely disable the responsiveness, so that the website is the same on both desktop and mobile.
Oh, please have a look here: https://wpexplorer-themes.com/total/docs/disable-responsiveness/
Sorry to bother yet again, but totally disabling responsiveness didn’t work. Is there a way to disable responsiveness only from one row/column?
You can’t really disable the responsiveness for 1 row but you can use the custom column widths to specify your column widths on mobile – https://wpbakery.com/video-academy/responsive-column-control-width-offset-param-usage-explained/
If the plugin guide here doesn’t make much sense, let me know I’ll make a new full better guide on the Total docs instead 
- AJ
Thank you, I think I got the hang of it! One last question though. When I took the responsiveness off and then put it back on, my mobile page stopped working right. It only shows this grey background with blue banners and all the content is just code (when looking via phone – on editor it looks correct)... You have to separately click from an icon at the bottom to switch the display, then it shows the mobile page. I think I have the responsiveness back on correctly (Customize -> layout -> responsiveness + Page Builder settings -> Responsive content enabled) so I have no idea what do…
It sounds like you may have a 3rd party mobile function on your site. ( impossible to know without looking at your URL but it’s my guess). Do you use jetPack by any chance? If so, can you make sure JetPack mobile is disabled – https://jetpack.com/support/mobile-theme/
- AJ
That was exactly the problem! Thank you so much for your help!
Great, I’m glad it was an easy fix 
Have a nice weekend!
- AJ
Hello, one quick question: there’s a strange thing happening at the moment when i try to save/edit my posts. when i hit the save or update button, it doesn’t acutally save (or update) the post, but instead i’m being redirected to the post overview page (wp-admin/edit.php)… sometimes it works properly, but most of the times that redirection happens. any idea what could cause this? thanks a lot in advance!
It’s all working again now.. perhaps it was just a server problem 
Very strange. Are you referring to when you save while using the front-end editor?
First make sure everything is up to date including the theme, the bundled plugins, any 3rd party plugins and WordPress: http://wpexplorer-themes.com/total/docs-category/updates/
Once everything is up to date clear all site and browser cache and if you still have issues try disabling 3rd party plugins to see if any are breaking things.
This sort of issue is almost always caused by having WordPress up to date but your theme or plugins are outdated or by a 3rd party plugin that is creating a conflict.
- AJ
Hi AJ, I have a question regarding the Post Navigation widget. It is wonderful except for one thing – it does not put the posts in the right order and I cannot find a way to customize that. I have installed the plugin Post Type Order (https://wordpress.org/plugins/post-types-order/) which I use to organize my posts the order I want them, but the Post Navigaion widget has its own mind and does not follow my order. Help! Thanks.
Hi,
To be honest I am not sure what you mean by ‘Post Navigation widget’. The theme doesn’t have this by default. Are you referring to the next/previous posts module by any chance? This one: https://cl.ly/oZSt
If so…WordPress uses a very different function for the ordering of the next/previous links. It’s quite a bit complex to alter the order but there are plugins/code you could use to modify it.
- AJ
Yes, the previous/next . If you can give me instructions how I can make it follow the order I want I will highly appreciate it. It will be excellent for my site.. Thank you.
Hi,
There is a good answer for that on these 2 articles:
- AJ
Hi, I bougt the theme for the Equal hights of the woocommerce boxes, but the option is disabled? “Entry Equal Heights Enabling this setting will display all the add to cart buttons in the same spot for each entry. Disabled in the Customizer to prevent conflicts.” is there a way to activated this? my website looks like crap with, i must import 18.000 products with all diverent sized images. en ik would like that the boxes are all the same size.
http://omnia4webdesign.nl/visserhattum/product-categorie/kantoormateriaal/scharen-en-cutters/cutters-en-toebehoren/Thanks for youre reaction. Greats Ben
Hi Ben,
The problem isn’t with the equal height function it’s with the image cropping. Go to Theme Panel > Image Sizes > WooCommerce and enter a good cropping for your images. Right now you have some images that are VERY large vertically and it’s causing all entries to be very tall (since equal heights is enabled). You want to make sure your images are all being cropped to the same dimensions and they aren’t so tall.
See here: https://cl.ly/oZCw
It looks like your images are already cropping but to a very large vertical height like this one – http://omnia4webdesign.nl/visserhattum/wp-content/uploads/2017/12/0110151_P-2-350x879.jpg
Make sure that your “height” in the image cropping settings is NOT set to “9999” or empty and it’s a smaller value. Because right now it’s causing layout issues but also you are also losing a lot of proportion from your original image – http://omnia4webdesign.nl/visserhattum/wp-content/uploads/2017/12/0110151_P-2.jpg
- Aj
Hey can i use the visual composer on top of the theme? So for example I can use the Gym demo you guys made and add like another section maybe an FAQ with the visual composer? Or maybe social media buttons on the footer? Thanks!
Hi there,
Definitely! That is the purpose 
All the demos are just examples of what can be done and you don’t even have to import them if you don’t want. If you are starting with a fresh empty WP site they allow you to get a quick start, that’s pretty much it. After that you can tweak things however you want. This includes changing all the fonts, colors, enabling disabling functions and adding/removing pages and content. All the demos are just examples of what you can do so anything you see in ANY demo is possible with the core theme. For example in the Gym demo the main header is disabled and its a single page site but you can of course re-enable the header add a logo, menu, more pages…etc.
Here is a video for example showing the homepage of the Gym Demo I made for you: https://cl.ly/oYFs (shows you how the builder works in live editing mode)
And all the styling and main settings are done via the Customizer – https://wpexplorer-themes.com/total/docs/theme-options/
If you have any other pre-purchase questions let me know.
- AJ
Hi AJ,
I created a new post type graphics. I would like to use a template which I created with templetara to display the contents. I fixed that using a snippet from your docs-site. The only thing I can’t figure out is how I can remove the ‘default’ content. It is displayed beneath my template content…
Regards Bjorn
Hi Bjorn,
Which snippet are you using? You’ll want to make use of the dynamic template functionality for this – https://www.youtube.com/watch?v=eGYuBjqkj8Q
If you are using the Post Types UI plugin to add the post type you can define it in their settings without any extra code – https://wpexplorer-themes.com/total/docs/adding-custom-post-types/
If you are not than the snippet to use is this one (just added) – https://wpexplorer-themes.com/total/snippets/define-dynamic-post-template-via-code/
Using this function will replace ALL the content on the page so be sure to add the “Post Content” module to your template where you want it to show the post content.
- AJ
Hi AJ,
I created the new post-type using some scripting in my child-theme. I was using this snippet: https://wpexplorer-themes.com/total/snippets/add-custom-content-multiple-pages-via-visual-composer/. But I was aware this wasn’t exactly what I needed…
Your new snippet is exactly what I needed. I will take a look at the Post Types UI plugin as well.
Thanks again!
Bjorn
Hi AJ, I switched to using the Post Types UI plugin for my custom post types. Now I created a template to use for displaying the content using the dynamic template functionality. I defined to use some images from the post (featured and gallery) and set the dimensions of the images. The images are not scaled (source) and stay at the full size. Is it a bug?
Regards, Bjorn
Hi Bjorn,
It’s not a know bug, I just tested myself and the image sizing is working correctly. Can you share a sample URL so I can take a look?
One thing to note though, is the slider for example is responsive and all images will appear at 100% width of the container they are in unless disabled – https://cl.ly/obXz
- AJ
Hi AJ,
Sorry for the delay. You can view the issue here: http://dev.careconcept.nl/wp/test-nieuwe-info-pagina/ For the images on the left I first configured a custum dimension of 480×480px now I switched to the preformatted portfolio_post (with same dimensions). But it is still using the original dimensions of the images. For the image on the right I use the pre-defined blog_post format. This one is working correctly.
Bjorn
Hi,
Did you disable image sizing by any chance? https://cl.ly/ogKY
I am re-creating what I believe you said you are doing locally and it’s working perfectly for me. Here is a video of my test: https://cl.ly/ogO0
- AJ
Hi,
No, it is enabled: the settings look the same. The video is showing exactly what I am doing. I didn’t think about the plugin Imagify which I am using. I disabled it to test without using it. Didn’t help. Can I (or you) debug in some way to see what happens?
Bjorn
Hi,
Yes you can submit a private ticket with logins (request it be assigned to aj) and I’ll have a look for you – https://wpexplorer-themes.com/support/ – hopefully it’s an easy fix 
Does image cropping work anywhere? Like if you try adding a single image module to a test page with custom cropping settings does that work?
It’s very possible your server just has ImageMagick disabled – http://php.net/manual/en/book.imagick.php – which is what WordPress uses for image resizing/cropping.
- AJ
I created the ticket with logins.
Image cropping is working on other pages: see ticket
Bjorn
Hello, I am using Total and Polylang, as I want my site to be bilingual, English and French. I have asked in the French settings to have a static page as the Homepage. For the English, I want the homepage to be the translation of my Welcome French home page. In fact all I have is a 404 error. And if I click to Welcome in the header bar, then I am on the right page. I looked in the global settings but all I have is : your homepage must be translated in all languages. How can I do this ? And how to make sure when someone has an English browser it arrives on the right page. Thank you, happy holidays season. Bruno
Hi Bruno,
Because of how Polylang works you must have the French and English version of your homepage published to prevent a 404 error – https://polylang.wordpress.com/documentation/setting-up-a-wordpress-multilingual-site-with-polylang/translating-posts-or-pages/ (their docs aren’t very good unfortunately).
Browser detection is actually a “Pro” feature of their plugin if you are on the free version you would have to upgrade, see here: https://polylang.pro/doc/detect-the-browser-preferred-language/
- Aj
Thank you so much AJ for such a quick and precise answer. As you mention their documentation is not very good and this does not change my problem, the English welcome page (translated from French to English and declare as English in the All Pages item still does not show as the homepage for the English version.) As I want to keep the Total theme and apparently, I will have to pay for a full featured (and supported!!) multi language plugin, could you recommend one easy to install. I have all my pages translated by myself, so I do not need to have translating tools. Thank you in advance, Best, Bruno
Hi Bruno,
Polylang should work fine, it’s fully tested with Total it’s possible the issue with the homepage is cache related or permalink related. Have you tried clearing your cache and re-saving your permalinks?
Also make sure that both the french and english versions have content. And make sure that under Settings > Reading your homepage isn’t set for BOTH a static AND the recent posts because that could conflict.
In terms of a premium plugin most customers use WPML. It’s pricey but it’s the one most people use and it has been tested with Total as well.
- AJ
Re: How to display different logo for a specific blog category
Hello AJ!
I was able to use a different header logo for all my blog posts and blog archives by tweaking the snippet you shared here (thank you!):
https://wpexplorer-themes.com/total/docs/custom-header-logos/Could you explain how to tweak the snippet to display a different header logo for posts from a specific category only, please? (For example category ‘test1’)?
As always, thank you.
- Debbie
Hi Debbie,
To test if a post is in a specific category all you need to do is use the WordPress in_category function – https://developer.wordpress.org/reference/functions/in_category/
Example:
if ( in_category( 'news' ) ) {
$logo = 'YOUR CUSTOM IMAGE ID or URL';
}
And you can place this inside your existing function.
I hope you are having a great holiday season!
- AJ
ps: The theme is 50% off a great time to get a new license which will not only renew your support for free but allow you to use the theme on another site if wanted – or to simply renew your support license 
AJ:
Thank you, this worked perfectly.
Thanks for the nudge, I picked up another license.
- Debbie
Awesome
Happy New Years! If you need anything else just let me know.
- AJ
Merry Christmas & Happy New Year,
Is there a way to decrease the size (width) of the spaces between the menu items in the main horizontal menu in the header?
By the way, I’m using a child theme.
Thanks!
Very easy with CSS but depends on the header style you are using, which are you using?
- AJ
Hello! My site is on https://yy-jia.com/.
For each article, for example on page – “https://yy-jia.com/body/giving-smoking-exercise-can-help”, I would like to give a “Journal Reference” ideally in the Side-bar to show what content the article was based from. I would ideally like to make each Journal Reference on every article different text since they will all be referencing different journals. Using the widgets on side-bar it looks like I cannot do this as would need to make text same on every page.
Is there any other way , that you may know of , that I could approach this?
Many thanks for your help,
Lisa
Hi Lisa,
Sorry but the website URL isn’t working for me, can you double check you posted the right link? Or do I have to edit my hosts file?
Basically what you want is to add a custom field that you can use on the post to add custom text which would then auto display in the sidebar. There might be some plugins out there for this but I don’t personally know of any and I don’t recommend anything I haven’t tried because I don’t know how good the code is. But…it wouldn’t be very hard at all to do in Total with a little code 
First make sure you have a child theme active – http://wpexplorer-themes.com/total/docs/child-theme/
Then you can add this code (and modify it to best suit your needs) in your child theme’s functions.php file:
// Add new field
add_filter( 'wpex_metabox_array', function( $array ) {
$array['yyjia_journal_reference'] = array(
'title' => __( 'Journal Reference', 'wpex' ),
'post_type' => array( 'post' ),
'settings' => array(
'my_new_field' => array(
'title' => __( 'Journal Referance', 'total' ),
'description' => __( 'Enter my description here.', 'total' ),
'id' => 'yyjia_journal_reference',
'type' => 'editor',
),
),
);
return $array;
}, 40 );
// Auto display my journal reference at the top of the sidebar
add_action( 'wpex_hook_sidebar_inner', function( $array ) {
if ( $jref = get_post_meta( get_the_ID(), 'yyjia_journal_reference', true ) ) {
echo '<div class="journal-referance clr">' . wp_kses_post( $jref ) .'</div>';
}
}, 0 );
This will add a new post you can use to enter your text like this: https://cl.ly/oX1D
And it will auto show in the sidebar at the top (you could get fancier though and create a custom widget that shows the text so you can move it around but that’s quite a bit more work – a bit too much beyond the scope of support).
Have a look at these 2 articles if you are interested in how the code works:
- https://wpexplorer-themes.com/total/snippets/adding-fields-page-settings/
- http://wpexplorer-themes.com/total/docs/action-hooks/
- AJ
Hi AJ,
Thank you so much for the great help as always.
So I added the PHP code to the functions.php and I can see now where to input the Journal Reference Information and I do that. However when I go to view the page at “https://yjeya.com/body/giving-smoking-exercise-can-help” I cannot see it in my side-bar?
Thanks!
Lisa
Also for the related posts images at the bottom of https://yjeya.com/body/giving-smoking-exercise-can-help. Could you please tell me how to do the same as what you helped me do for the home-page – https://yjeya.com?
You basically helped me to input some custom text underneath the picture.
Thank you!
Lisa
One further question! Is there any way to keep top menu always visible on scrolldown on mobile for example how http://uk.businessinsider.com/ do? Many Thanks
Lisa
Hi Lisa,
- I am not able to access this page to see – https://yjeya.com/body/giving-smoking-exercise-can-help – it’s returning a 404 error.
I did fully test the code before sending it to you and it’s correct. You should see the added text at the very top of the sidebar. Can you double check the code? If needed you can submit a private ticket with logins so I can look – https://wpexplorer-themes.com/support/
- Adding extra text is gonna be a bit tricky for related items…Honestly for your site for the related articles I would recommend removing the overlay and showing them more like the original demo – http://totaltheme.wpengine.com/mason/fashion-shows-are-so-much-fun/
Or better add some CSS to float the images like this:
body.single-post .related-post {
float: none;
width: 100%;
margin-bottom: 10px;
}
body.single-post .related-post-figure {
float: left;
width: 200px;
margin-right: 20px;
}
body.single-post .related-post-content {
overflow: hidden;
}
Result: https://cl.ly/oZ4h
Another alternative is to disable the related posts completely and use custom code to insert a full grid of related posts below the post something like my other theme – http://wpexplorer-demos.com/fashionista/gallery-slider-post-style/
- You can enable sticky on mobile via Appearance > Customize > Header > Sticky
The live demo has the sticky menu enabled so you can see – http://totaltheme.wpengine.com/mason/ – on the demo it’s disabled on mobile though but you can enable it on mobile if wanted.
- AJ
Hi AJ,
Thank you for getting back to me
1 Thank you – I will submit ticket for this one.
2 “Another alternative is to disable the related posts completely and use custom code to insert a full grid of related posts below the post something like my other theme – http://wpexplorer-demos.com/fashionista/gallery-slider-post-style/"
I really like what you have here. Could you please tell me how to implement this?
3 Sticky menu – Thank you I have done as you have advised for this one & looks great.
Thanks Lisa
Hello
One further question in relation to sticky menu for Yjeya.com
Is there any way that (just for mobile) to have name of site on the sticky menu and to eliminate the header text that says name( so to have this only visible once on the menu)
(http://uk.businessinsider.com/ do this)
Thanks again,
Lisa
Hi Lisa,
I know you keep linking to this site – http://www.businessinsider.com/?r=UK&IR=T
Maybe you just want to switch headers completely and user Header Style One – https://wpexplorer-themes.com/total/docs/header-styles/ – which has the logo on the left and the menu on the right (just like your example).
Then I see you are using the Fixed Navbar for the mobile menu but you could instead use the “Right Aligned Icon Buttons” so the logo is on the left and the mobile menu toggle is on the right – https://wpexplorer-themes.com/total/docs/mobile-menu-toggle-styles/
Make sense?
- AJ
Hi AJ! Hope you had a wonderful Christmas. Question: wich security plugin do you recommend for Total? There are too many options, and I don’t know wich one to choose. Security and backup plugins, if you can help me with that 
Thankss!
I did, thank you! I hope you did as well
I had a very productive Christmas working on the redesign of wpexplorer.com for the last few days, it’s going to be awesome!
In terms of security plugins I actually don’t use any. I only recommend Managed WordPress Hosting which include built-in security for absolute performance and speed. There are plugins out there but from my experience they all slow you down a lot. If your server doesn’t have built-in security then maybe using something like CloudFlare combined with a limit login attempt plugin would be great and best for speed (and make sure your username is NOT admin and you have a strong password).
For backups…again most managed hosts include daily backups but additionally I use and highly recommend VaultPress (the only one I recommend). It’s created by the same people that develop WordPress and it hosts all your backups on the WordPress.com servers so it’s super super fast, includes security scans and 1 click restore. I would not recommend anything other than that.
Be careful with any security and backup plugins some of them can really slow things down.
- AJ
Hello, I can’t seem to figure out how to remove the white top border just above the logo. This may have been answered but I’ve encoding some of the custom css in the comments related to this but they doesn’t seem to work. Any help? My site pioneerfn.com. Thanks!
This is padding from your boxed layout via the settings at Appearance > Customize > Layout
I see you tried entering 5 – https://cl.ly/oXgR – to trim the spacing but it’s not working because you must defined a pixel, percent or em value. So simply change the value to 5px for example.
I noticed your main row on the homepage is set to full-height – https://cl.ly/oWvJ – but it only has an image inside it so after making the tweak you will see a lot of padding like in my video. If you want your image to be full-height remove the image module from the row and set it as a background for your row and add a max-height to the row in the row settings or insert a spacing module to the row with a height you want for it. Or if you just want your plain image then disable the full height option in the row settings to prevent issues.
Just wanted to mention that since I noticed 
Happy Holidays and web week!
- AJ
Thank you. Actually with regards to the image we are looking for a way that the image size would also be aligned to the width of the menu. Is this suggestion of yours will do that?
Looks like you figured it out (you removed the full-height but have the stretched row enabled), your website is looking great!
- AJ
I wish you a merry christmas for you and your team mate! From Portugal!;)
Best regards
Thank you so much!! It means a lot to me. You too 
- AJ