Forum Replies Created
-
AuthorPosts
-
April 23, 2013 at 9:45 am in reply to: Genesis Featured Widget Amplified plugin won't stay when I add to my sidebar #37156nickthegeekMember
Does this happen if all plugins are disabled including GFWA?
nickthegeekMemberwhat did the full home.php file look like with your edits?
April 16, 2013 at 2:57 pm in reply to: Changed my theme, now I can;t recover it or use any other themes. #35826nickthegeekMemberI'm seeing your site working. Did you figure this out?
nickthegeekMemberThe XML file can only import the demo content, that is how the WordPress import works. We could bypass that and use our own import, but we prefer to use WordPress functionality instead of bypassing it. Additionally we find that by providing the setup tutorials users will learn more about how the theme works so that they can make adjustments for their personal needs more readily.
nickthegeekMemberok, so this thread got interesting after I saw the initial post. I'm going to close it after I share the news. I like the idea of a field for the URL and think it can be very helpful. I know one of the first things I ask for a lot of issues I help with is "please include a link to your site." Sadly I still have to ask this a lot in help desk even though there is a field for this, so I don't know that the URL field will solve the issue but it might help.
To make it better I did some fun stuff to it. In theory it will automatically add the http:// prefix so the link will format correctly even if that was left out. So designsbynickthegeek.com will be converted to http://designsbynickthegeek.com. This is done on save so it doesn't need a lot of overhead. It also runs wp_kses() for security because ... hey public form right.
The URL is added to the bottom of the content if the field is filled in and it will automatically make the link open in a new tab/window and sets the rel to nofollow. This should help alleviate concerns about SEO issues and links to posts somewhat.
nickthegeekMemberThis is the correct place to ask customization questions. It is a community forum where community members help each other.
I've always said, there is no such thing as a dumb question, what may seem really basic to me because it is PHP 101 is confusing and difficult for someone who is not familiar with why certain things do not work the way they might expect. Which is why we have the forum. As you learn you will ask fewer basic questions and ask more advanced questions. In fact I would hope you would even start helping answer some of the basic questions, that is the whole community concept. If you continue to progress you may not need to ask questions and just show up every so often to help others out. That is a really cool place to be because you are in a place to watch others move from where you are now to a place where they have mastered the concepts.
The global variables are basic PHP. It just doesn't seem that way because when working in WordPress themes you often are not working within functions, but instead are in the global scope. Within Genesis things are compartmentalized so you will be working in functions or classes, you will not be in the global scope by default. This means every variable must be defined before you can use it. This is one of the first lessons in PHP. A variable does not have a value until it is given a value. Unless you have $foo="bar"; then you have an undefined variable.
So if there are global variables that you wish to use inside a function you must make it available by telling the function to use the global variable. This is done inside WordPress quite a bit. Go read the PHP inside WordPress and you will find "global" all over the place.
This is how a variable can be defined inside one function, then used inside another function.
If the variable is not global you must define it for use. This might look like
$user = wp_get_current_user(); $user_ID = $user->ID;
I pulled this from the codex
http://codex.wordpress.org/Function_Reference/wp_get_current_userAs for your original question, I got sidetracked by the secondary issues and did not do a great job answering that. You can use the code shown above or various other combinations of that, but there is a WordPress function to do just what you are describing.
http://codex.wordpress.org/Function_Reference/is_user_logged_inNow it may be that in the codex they will abbreviate some of the code. It is written by volunteers and I have found that often things are not stated very clearly, it is assumed that users will have a good working knowledge of PHP, so they only give the minimum details on the function. Now I will say that they are much better than it once was. There was a time that there was no information and it was up to users to look at the original code.
You may also wish to review my Genesis Explained series, it will help a good bit.
http://designsbynickthegeek.com/genesis-explainedThere you will find that the "genesis();" function loads pretty much everything. It is more than just wp_footer(). It loads the header function, the core framework markup, all the hooks, and the footer function.
You will also learn about how actions and filters work, which will help quite a bit.
In closing, if there is some specific thing you are trying to do I would encourage you to start a thread in these forums. The folks here are really great and tend to do a great job at helping each other to learn how to do customizations.
nickthegeekMembercould you please enable it on your site so I can see what is happening, thanks.
nickthegeekMemberThe fastest way to see the latest and greatest is to check the StudioPress blog. Here is a link directly to the theme releases category
http://www.studiopress.com/category/releasesnickthegeekMemberI would recommend contacting the Synthesis staff about your concerns. These are community forums for StudioPress users. The vast majority are not Synthesis users and your concerns cannot be addressed by the users here effectively.
----
Update by GaryJ (as I can't re-open the thread):Nick,
While the origin of the problem does indeed lie with the Synthesis set up, this is a community for Genesis users - we help with plugin-related issues with Genesis, so we can help with hosting issues too, especially for something like this.Everyone else,
The WP editor is useful for updating CSS files, but it's poor for editing PHP files - one forgotten semi-colon, or some other syntax error, and the site will throw a white screen, then the only way to fix it is via FTP.
Filezilla and most decent hosting support SFTP, which is a secure version of FTP. Unless your whole site runs on SSL (starts with https://), then any changes you send via the WP editor could be sniffed out anyway. SFTP eliminates that risk, as well as putting general access to site files behind the extra username and password associated with FTP (and can be easily limited with certain IP addresses etc.), rather than just your WP password.
Learning how to use FTP is by far the better choice here.March 26, 2013 at 4:40 pm in reply to: The AgentPress thread to end all AgentPress complaint threads #31427nickthegeekMemberThank you for the recommendations. For them to get the best reception I would suggest that you file this using the ticket system or by contacting the theme developer directly. This forum is for the community and while it may seem like the best place your criticism will be missed by the ears that could do something about it.
nickthegeekMemberPlease use this form for any account assistance issues
http://studiopress.com/account-assistancenickthegeekMemberby the way, which tutorial is referencing a zip sent via email? I'd like to get that changed.
nickthegeekMemberSorry that you are having trouble with this. I'm going to guess that you are on a Mac since that is when I usually see this issue. I recently switched to using a Mac and that first week this issue caused me endless frustrations. It turns out there is a default setting that unzips downloaded files and then deletes the zip file automatically. I guess this is handy unless you need the zip files like WordPress users do.
I found there are two simple solutions. You can disable this option in the browser preferences. I just looked and the option says "Open safe files after downloading" and is in the "General" tab. Once disabled you should be able to download zip files like normal.
The other option is to press "control" while clicking on your folder. Select to "compress" the folder and you will get a new zip file easy as that. It is super important that the Genesis folder be named "genesis" exactly like that. It can't be "genesis-2" or anything else like that.
I hope this helps ease your frustration and gets you back on track.
nickthegeekMemberCandice,
You will have created an account when you made your purchase. This is going to use the email address and password from that checkout page. Use that to log in at my.studiopress.com and download Genesis and a child theme from that page. You can also access the setup tutorials by clicking "Get Started" next to the child theme download link.
nickthegeekMemberEduardo,
It really depends on the code. Not all code can go into the Genesis Simple Hooks plugin. If it is supposed to do something in admin it will not work. If it is an action that adds some functionality to the front end of the site, you may just need a part of it. For example:
add_action( 'genesis_before_content', 'child_before_content' ); function child_before_content() { echo 'This is before the #content div'; }
You could put this into the genesis_before_content hook in the Genesis Simple Hooks plugin
<?php echo 'This is before the #content div'; ?>
It will do the same thing. Then again, since I'm just outputting HTML there you could just add this too
This is before the #content div
Ultimately it is something that would have to be modified a bit on a per instance case though, not something that can be covered with "add this to 'x' hook and you will be fine every time."
March 19, 2013 at 12:19 pm in reply to: Plans to update/replace default social profiles in Genesis Framework? #29446nickthegeekMemberThanks for the recommend. Other than Google+ authorship, which has a very clear SEO benefit in the most popular search engine, we are not really adding anything for that in addition to what is in WordPress by default, instead we are deferring to plugins which can be updated more rapidly for the changing environment of social networks.
nickthegeekMemberPing backs are not going to significantly affect your SEO unless you are heavily loading links to multiple posts and generating a lot of interlinking ping backs. That could cause problems. We do not have anything in Genesis to address this and do not have anything written up about it because the scenario in which this can be a problem is more of a fringe case issue.
nickthegeekMemberFirst off, thanks for taking the time to address your concerns.
The new portal os broken into a few of different sections. Support, documentation, and customization. This was done because a lot of legitimate support issues were being lost, especially for new customers. If you do a quick search you will see this is something we have written quite a bit on. We are working on improving documentation based on what is coming into support. The things we have coming in more often we are tracking and converting into documentation and working on putting that up front on the support request page so users with common issues can help themselves. The support system allows us to track this much more easily so we can better track this.
The customization type questions are best placed here, and it is searchable, we are working on improving the search mechanism based on feedback from users.
As to WordPress functionality not working in Genesis. We actually work very hard to use WordPress functionality. We do not replace it or lock it out. Most likely it comes down to correct usage. Using your example, you cannot use a global variable inside a function unless you declare it first. This is PHP 101 and is pretty easy to deal with.
If $user_ID is global then you have to make it available like this
<?php global $user_ID; if( $user_ID ) { //do something } ?>
nickthegeekMemberyou may want to check out this article
http://www.copyblogger.com/wordpress-website-security/nickthegeekMembercURL has to be activated on the server. It is independent of WordPress. You will want to check with your host to see if cURL is enabled and if not if it can be enabled. In some hosting environments it can be enabled via a php.ini or even .htaccess file.
-
AuthorPosts