workmannen
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [ColorMag] My website completely changed, posts cannot be read3NT
I had to hold on for a while and look for the edit field to be able to write this:
I use “Classic”, it removes Gutenberg so only Classic editor can be used. Have something similar for the widgets page.Forum: Themes and Templates
In reply to: [ColorMag] My website completely changed, posts cannot be readI could edit in the child theme but realized that my hosting has pro themes for members who have a more expensive hotel package. It was very easy to change and works great with pro parts that you otherwise have to pay for. I like ColorMag, it’s probably one of the best themes available in WordPress. But what I get from my web provider for free, I can’t afford to say no to.
Forum: Themes and Templates
In reply to: [ColorMag] My website completely changed, posts cannot be readNo, that didn’t help. I can’t see my posts or pictures at all. The appearance of the first page is also completely wrong. In addition, several things came along that I removed in the child theme.
But I solved it another way. I deleted ColorMag and installed another theme. Been working on it for several hours now.
The developers of ColorMag should have been forewarned before this major change was installed.
I’m thinking a lot about switching CMS to a CMS that doesn’t have a block editor. Don’t like it at all. Even this forum has switched to the useless block editor. It makes posting difficult.
Automatic seems to think like this: “Why make something easy when you can make it difficult”…
Forum: Themes and Templates
In reply to: [Mission News] Clasic editorYep, I’ll work ahead and let you know if I run into the wall.
Forum: Themes and Templates
In reply to: [Mission News] Clasic editorI solved it after reading the link you showed!
I added this:
add_action( ‘init’, ‘cd_add_editor_styles’ );
Before this:
function cd_add_editor_styles()
{
add_editor_style(‘editor-style.css’ );
}
Now it seems to work on what I tested.
Thanks for the help!!!Forum: Themes and Templates
In reply to: [Mission News] Clasic editorTHANKS!
I will read and see how I can do this.
Will return with the result.- This reply was modified 3 years, 1 month ago by workmannen.
Forum: Themes and Templates
In reply to: [ColorMag] “Featured image” is no longer visible in postsYes it works now that I removed content-single.php from child.
Will report back if I have more problems.Forum: Themes and Templates
In reply to: [ColorMag] “Featured image” is no longer visible in postsI have changed a bit in the file content-single.php which I copied to child. Latest update content-single.php differs from previous content-single.php which I copied to child. This meant that the “Featured image” did not appear. The code collided with each other.
Forum: Themes and Templates
In reply to: [ColorMag] “Featured image” is no longer visible in postsI deactivated the child theme then all the images appeared again. Latest update of Colormag conflicts with something in my child theme.
Forum: Themes and Templates
In reply to: [ColorMag] “Featured image” is no longer visible in postsIt was previously enabled for ALL posts and that’s how I want it to stay.
Suddenly yesterday all pictures were gone in all posts but all pages are all pictures still.- This reply was modified 3 years, 5 months ago by workmannen.
Quick answer, I thank you for that!
Some never answer.The link you show where you can change your grade did not exist before but now it exists (or I am blind as my wife often tells me).
Has changed the rating now!The folders in the plugin have been working for several hours and still do. I am very happy and hope to remain so.
Now that I looked again, the folders are back !?
I read online a maximum of 10 folders in the free version. I will test if it is possible to create more than 10. I really only need 10 folders.If it now works with the free version, I steam 1 star. Now they are worth 5 stars. How to change from 1 star to 5 stars?
I can very well buy the pro version but I write a lot and build a lot of electronics. I post it completely free for everyone to take part in. Because I do it for free, I do not want to spend money myself. It becomes counterproductive.
Forum: Plugins
In reply to: [Advanced Editor Tools] Menus Lost in Visual EditI got same problem which makes work impossible.
EDIT:
I tested by removing the extension and reinstalling it. The same error!- This reply was modified 5 years, 5 months ago by workmannen.
Forum: Themes and Templates
In reply to: [ColorMag] After update the child function.php is wrongForget what I wrote above!
This is how it is:
The functions.php file starts with <?php and ends with ?>
When ColorMag was updated on September 29, 2020, the child theme stopped working. I have experimented with ALL the codes in the theme without success. I thought that for some reason it was the wrong file format in functions.php but when I started entering my codes in that file it stopped working again. I made one last attempt to solve the problem. I removed related code in functions.php and tested each time. When I deleted the last piece of code I happened to delete ?> also. Now the chill theme suddenly worked.
I put back all the code except the last one ?> and it still worked.
After ColorMag updates, ?> must be deleted last in functions.php. Alternatively it should never be ?> but I have had it and it has worked until ClorMag was updated. Which of the options is the truth I do not know but ?> last in functions.php should not be included.Forum: Themes and Templates
In reply to: [ColorMag] After update the child function.php is wrongI want to get to the bottom of why the child theme does not work. As I described earlier, I get several different strange errors. Among other things, the pictures are not visible in the media library so I can not add pictures to my posts. Several pages in admin also turn white when I click on the functions. I got one of my sites to work with child again. I deleted the child directory and uploaded the ColorMad original directory. Then it worked. My other web page I deleted all files and all code in the child directory except function.php. In that file, I deleted all code except the original code. Continued the same error !!!
Now I’ll find out why it does not work:
I have two test pages. One that I uploaded a brand new child directory I saved from ColorMag online and the other I still have the directory that does not work. I only have function.php and only the original code. This is how it looks:………………………
The code that works in function.php:
/*
* Child theme functions file
*
*/
function colormag_child_enqueue_styles() {$parent_style = ‘colormag_style’; //parent theme style handle ‘colormag_style’
//Enqueue parent and chid theme style.css
wp_enqueue_style( $parent_style, get_template_directory_uri() . ‘/style.css’ );
wp_enqueue_style( ‘colormag_child_style’,
get_stylesheet_directory_uri() . ‘/style.css’,
array( $parent_style ),
wp_get_theme()->get(‘Version’)
);
}
add_action( ‘wp_enqueue_scripts’, ‘colormag_child_enqueue_styles’ );………………………
The code that does not work in function.php:
/*
* Child theme functions file
*
*/
function colormag_child_enqueue_styles() {$parent_style = ‘colormag_style’; //parent theme style handle ‘colormag_style’
//Enqueue parent and chid theme style.css
wp_enqueue_style( $parent_style, get_template_directory_uri() . ‘/style.css’ );
wp_enqueue_style( ‘colormag_child_style’,
get_stylesheet_directory_uri() . ‘/style.css’,
array( $parent_style ),
wp_get_theme()->get(‘Version’)
);
}
add_action( ‘wp_enqueue_scripts’, ‘colormag_child_enqueue_styles’ );
………………………As you can see, the codes are exactly the same and the files they are in have exactly the same name and the two different directories also have exactly the same name but one of them works but not the other?!
I changed codes in the two function.php files, but the function.php that did not work earlier also does not work after I changed codes?!
Now I create a new function.php instead of the function.php that does not work and put the latest code in it and test like this: I create a xxxx.txt file and rename it to fukition.php.
NOW IT WORKS!!!The error is that the function.php is of the wrong format!
Now comes the big questions:
1. How can the file get the wrong format???
2. What are the different file formats on a server?- This reply was modified 5 years, 7 months ago by workmannen.
- This reply was modified 5 years, 7 months ago by workmannen.
- This reply was modified 5 years, 7 months ago by workmannen.