That’s great! 🙂
About WYSIWYG, I meant more like an upload button to insert the image/video ad in the ad box instead of one has to get the file url and paste it there. Perhaps I used the wrong name.
About the creation of our own blocks, like I said, don’t know if that is possible but it would be nice to have a builder like Visual Composer. I have seen this on Magento themes where one inserts a widget and by drag n’ drop one can define which elements should be in the widget. Black & White theme for Magento has this feature.
Perhaps these things would need be separated plugins one can buy and add to the Newspapper theme?
The update was done without any issues and everything is working just fine. Cheers!
Is there another way to create sticky posts with this theme?
Well, this is unfortunately not working. Changed the value to 0, uploaded it to the child theme and nothing happened. Uploaded it to the parent theme and still nothing. I dubbel checked if the post was checked as sticky and it is… I am using a multisite installation, that should not be affecting this, right?
help?
You mean that I should change it to 0? Could you also be a bit more specific on what will happen when I filter by category on a block?
Oh… will do! I do know that I should do a backup of the site but what do you consider to be the best way to update? I use a child theme and did all my customizations via child theme. Do I need to worry about correcting CSS, settings and so on?
Well, problem solved! 😀 The issue was exactly what you pointed out: theme version. I updated, installed the child theme and now it works flawless! FINALLY!!
Thanks so much! 🙂
Just want to point that the child theme is activated. Also, where can I change the value of the excerpt limit? I don’t see it in the code…
-
This reply was modified 10 years by
jonybigude.
Well, this is very frustrating. I have strictly followed your instructions and placed the edited file on the mywebsite.com/wp-content/themes/Newspaper-child/includes/modules. Did not work. I decided then to do something not recomendable – which I do not like but it works – which was to replace the file on it’s original folder. It worked then. What can possibly be causing this odd behaviour?
Ok, it did not work neither to change the td_module_mx3.php…
This is really frustrating. Check the images:
* http://www.screencast.com/t/tZ7OmFg5d and http://www.screencast.com/t/Id9fDTlbq that are the same page (back end and fron end). When the block 13 is there, no excerpt is shown.
* If I move the block to another bigger container – http://www.screencast.com/t/TMcXPPjgaP – the excerpt will be seen
-
This reply was modified 10 years by
jonybigude. Reason: Added images
Is there a way to change this behaviour and keep the page on the place where the user opens the menu?
I have deactivated all the plugins and I still get the same error. Any other tip?
I am sorry, I had completely missed that the error was in Swedish. Here is a translation:
XML parsing: XML or text declaration not at start of entity
Address: http://varnamo.srv01.wpeasy.se/category/familj/feed/
Line number 2, Column 1: <? Xml version = "1.0" encoding = "UTF-8"?> <Rss version = "2.0"
^
Ok, here is the thing:
I followed your recommendations along with your print screens step by step. Didn’t work. All I did was to copy the respective files and place them on the root of the child-theme and edit them. I placed the
<div class="td-excerpt">
<?php echo $this->get_excerpt();?>
</div>
Inside of files I should edit and it did not work. I then placed the <?php echo $this->get_excerpt();?> inside of <div class="item-details"></div> and did not work neither. Here’s the funny part: despite that I have the child theme activated, the code does not appear anywhere on my Firefox inspector when I inspect it…
After testing on the parent theme files, the cnages are visible. So, I decided to create the same folder structure on the child theme and upload the respective files onto those folders. Still not working…
Any guess of what might be the cause to this problem?
-
This reply was modified 11 years by
jonybigude.
-
This reply was modified 11 years by
jonybigude.
Hi!
Sorry for the late answer. I believe the best way to do this is via the child theme? In order to do that I will have to place the edited file(s) on the child theme folder with the same folder strucure, right?
Thanks so much!
I don’t think you are understanding me, I will try to explain in another way.
Look at the screenshot below. I am targeting the entry thumb:
http://www.screencast.com/t/3pjrMycB
Did you see how the thumb is? The logotype is cutted. I want the image entry to adjust images’ width. This cannot be done on the Theme panel. How could I ever use the category class to target the image if the class is on the body?
Is there a way to do this?
OK!!
Finally I found it!! I can’t believe I found this almost by mistake! Just when I was looking for another WP plugin I found this: http://support.advancedcustomfields.com/forums/topic/visual-composer-plugin-conflict/
Very bad of ACF to have a solution only for the ones who buy the pro version!! Very bad really! The issue was created by the ACF plugin! I removed it, I don’t think I will need it anyway. Problem solved!!
YAY!
All out of the sudden, without any new plugin installation or what so ever your plugin started to force my text editor (when creating a new entry) to switch from TinyMCE to HTML. I have tested:
* Switch themes with VC plugin aktivated – the problem remains
* Deactivate the VC plugin – The problem disappears
* Add the add_filter function on my functions.php – website gets broken
* When I open my browser console and type getUserSetting('editor'), I recieve the answer “html”. If I type in setUserSetting('editor', 'tinymce'), I get the answer “editor”. The I type getUserSetting('editor') to see if anything has chaged and I get the answer “tinymce”. But then when I refres, thue bug is still back on.
How can I solve this?
OK, I finally found out the origin of the problem.
The problem is being caused by Visual composer. How can I solve this?
-
This reply was modified 11 years by
jonybigude.
-
This reply was modified 11 years by
jonybigude.
Well, this issue still remains. I found this https://wordpress.org/support/topic/how-to-make-tinymce-advanced-default-editor-instead-of-html
Did it – still not working :/
Hi!
I have done like you said:
* activated theme twothousandfifteen: same issue
* activated theme Newspaper 6 (since I am runing child theme): same issue
* deactivated the only plugins that I had installed (MCE Table Buttons, Visual Composer Widgets, Widget Builder) since I noticed this problem: same issue
This is definately not specific from my browser or machine since my customer has the same problem. Perhaps this is a stupid question but… could this be done by the server?
I can provide you the FTP and admin credentials so you can take a look if you want to. It’s not a live site yet so you can do whatever you want, I have backup copies. In that case, the only thing I need to know is when you are doing something there so that I don’t work with the site, so we don’t override each other’s work.
So… any other suggestions?
-
This reply was modified 11 years by
jonybigude.
Issue solved
Here is my functions.php:
<?php
/* ----------------------------------------------------------------------------
WordPress booster framework - this is our theme framework - all the content and settings are there
It is not necessary to include it in the child theme only if you want to use the API
*/
if (!defined('TD_THEME_WP_BOOSTER')) {
include TEMPLATEPATH . '/includes/td_wordpres_booster.php';
}
// Adds a widget area.
if (function_exists('register_sidebar')) {
register_sidebar(array(
'name' => 'Annonser i toppen',
'id' => 'extra-widget-area',
'description' => 'Annonser i toppen - redigeras hos Widgets Builder',
'before_widget' => '<div class="td-header-top-menu-full">',
'after_widget' => '</div>',
'before_title' => '<h2>',
'after_title' => '</h2>'
));
}
// Place the widget area after the header
add_action ('__before_header', 'add_my_widget_area', 10);
function add_my_widget_area() {
if (function_exists('dynamic_sidebar')) {
dynamic_sidebar('Extra Header Widget Area');
}
}
// Visual editor always on
add_filter( 'wp_default_editor', 'force_default_editor' );
function force_default_editor() {
//allowed: tinymce, html, test
return 'tinymce';
}
?>
I applied the solution provided on the link above and the system is now loading up first the visual editor but it changes automatically to the HTML editor. What could possibly be causing this?
