Forum Replies Created
-
AuthorPosts
-
August 17, 2016 at 8:21 pm in reply to: I can't log into my dashboard after upgrading to WordPress 4.6 #191496pinarMember
Never mind, I found the solution. If you ever experience the same problem when you update your website to WordPress 4.6, just follow the instructions below:
(Thanks to Sal Ferrarello: Catchable fatal error: Argument 1 passed to Genesis_Admin_CPT_Archive_Settings)Step 1: Add This Code to the Bottom of functions.php
You or your developer should add this code to the bottom of the functions.php file of the Genesis theme. It is most likely located at wp-content/themes/genesis/functions.php./**
* Disable Genesis CPT Archives
*
* This is useful to temporarily disable the Genesis CPT Archives,
* if you can not log into your WordPress site
* after updating to WordPress 4.6.add_filter( 'genesis_cpt_archives_args', 'fe_modify_args_to_include_non_existant_name' );
function fe_modify_args_to_include_non_existant_name( $args ) {
$args['name'] = 'this-is-a-name-that-does-not-exist-resulting-in-no-matching-cpts';
return $args;
}Step 2: Log into Your WordPress Site
Step 3: Update to the Latest Version of Genesis
Step 4: Remove the Code we Added to functions.phppinarMemberThanks. I used Minimum Pro as my child theme but I customized the CSS so much that it almost looks nothing like the original design. This is the original Minimum-Pro theme: http://my.studiopress.com/themes/minimum/
I also had to tweak the functions.php and front-page.php files to remove a bunch of things like the huge social media icons and add a 3 column blog post section.
It took me a couple of weeks to get the hang of the Genesis framework. I looked under the hood and kept tweaking things and eventually I became comfortable with it. Of course when making changes (especially on php files) always keep a copy of the original file somewhere else so that if something goes wrong you can restore the file. I'm not sure if I can list the links over here but there are lots of great sources and tutorials on Genesis. I spent a lot of time searching for "how to do x on Genesis" and eventually found the solutions I was looking for.
- Pinar
pinarMemberOk that worked like a charm. Thanks a lot!
December 4, 2013 at 12:43 pm in reply to: Editing PHP files without changing the parent files #77007pinarMemberHmm I didn't know it was very hard to edit the files on Genesis theme. Right now I'm developing the site on my local server. I was thinking of adding a lightbox to display photos (without adding a plugin), add a mailchimp newsletter subscription code (again without a plugin), add a map on the contact page and add pictures on about page etc. and alter the layout in the blog page. There are just so many changes I want to do I can't list all of them here. Hooks aren't enough in my case. That's why I asked how to add to the pages without changing the core structure, like how the functions.php and the style.css in the child theme folder are used for changes. I wanted to do the same with all pages...
December 4, 2013 at 10:57 am in reply to: Editing PHP files without changing the parent files #76977pinarMemberWhich is adding text, pictures and links.
-
AuthorPosts