Forum Replies Created
-
AuthorPosts
-
essaysnarkParticipant
Glad you got it working!
essaysnarkParticipantHey Blake - your site says it's in maintenance mode so I can't see what's going on. Write back when it's available again and I'll take a look.
In the interim: In your Widgets screen, do you have only the standard Footer 1, Footer 2, and Footer 3 widget areas? That's the default for eleven40. My eleven40 site doesn't have a widgets-4 so you're right to be suspicious of that.
essaysnarkParticipantDoes your admin user have the Genesis User Permissions showing? Enable Genesis Admin Menu? needs to be turned on at the user record.
essaysnarkParticipantI just realized that I didn't actually answer your main question!
But, what I don’t know is: which is the template that my taxonomy page is using right now?
Here's the file naming standards:
- Specific Term: taxonomy-{taxname}-{termname}.php
- Archive: taxonomy-{taxname].php
(Without the curly braces of course.)
You'll need to create these files yourself, unless your plugin is doing that for you. If that file doesn't exist, then WordPress will use another file instead, per the Template Hierarchy.
essaysnarkParticipantluba lee - I've got a few pointers for you. Here's the first: You can reference your custom fields in any template file with this simple code:
remove_action('genesis_post_content', 'genesis_do_post_content'); add_action('genesis_post_content', 'my_own_fields', 1); function my_own_fields () { genesis_custom_field('myfield1'); genesis_custom_field('myfield2'); genesis_custom_field('myfield3'); }
However, this is just dumping the fields out in place of the nicely-formatted post content that you'd normally get with a regular post. You'll need to use some of the techniques you'd originally tried with combining this PHP with HTML in order to format the page as you wish.
The easiest way to create the archive pages that you want with your CPTs would be to use the Genesis Custom Post Types Archives plugin by Travis Smith http://www.wpsmith.net/genesis-custom-post-types-archives - the one wrinkle is that your custom fields may not easily get output there unless they're loaded into the post content area of your CPT. Maybe there's a way for that CPT Archives plugin to output the custom fields but I couldn't figure it out (I just spent an hour playing with it!).
So a possible solution is, if your plugin that created your custom fields allows you to reference them via shortcode, then you might be able to use those within the content area of each Country custom post you'll create (e.g., one for Brazil, one for China, whatever - and load each of your custom fields into the content area the same way). Then, Travis' plugin will pull them into your countries Archive Page because they're part of the main post content.
This is a roundabout way to get you there but it avoids too much coding. I think the learning curve is pretty steep unless you're comfortable with PHP. I don't have any experience with the plugin you're using for custom fields so I can't comment there. I use a lot of CPTs and several taxonomies but custom fields haven't been as easy. Maybe you'll have better luck with it!
essaysnarkParticipantmarjwyatt, this is something others have seen too and it has been discussed quite a bit in the plugin's support page on WP.org that Anita pointed you to.
I'm using Firefox and I am able to click and hold on the dropdowns, then move down to select what I want, and it seems to work fine that way. Hope you get it to work for you!
essaysnarkParticipantJamie, I'm certain you know CSS way better than I do, but just wanted to mention that we have a widget in our right header with a menu, and we don't have the issue that he's seeing (different theme but same widget area).
essaysnarkParticipantOK, first thing: That code for single-viaje.php is way too complicated. You don't need to repeat the
<?php
thing over and over again. You just need to "turn on" PHP once at the beginning of the file, and as long as the entire file contains PHP code (no HTML) then you don't "turn it off" (with
?>
) again - at least, none of my template files have it. They all end with
genesis();
Anyway, to try to be more helpful: I have a CPT with custom fields. The whole thing displays in its entirety with this as my template file - named single-CPTname.php (I'm not using the Simple Edits plugin I mentioned earlier, thus the "remove_action" line to get rid of the Post Info):
<?php /* Template Name: My CPT */ add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_content_sidebar' ); // Force Content-Sidebar Layout remove_action( 'genesis_before_post_content', 'genesis_post_info' ); genesis();
Maybe try that and see if you can display the custom fields on your single-CPT page? The code you showed above is way too complicated / messy and I think it may be easier for you to start over. 🙂
essaysnarkParticipantHey Luba - I can help with the simple part 🙂
Get the Genesis Simple Edits plugin: http://wordpress.org/extend/plugins/genesis-simple-edits/‎
That is the easiest way to modify the Post Info - the author/date type stuff.
I'm going to spend more time looking through your original post to see if I can offer some guidance on that one too. I'm no expert either! But I have used CPTs and taxonomies a bit so it's possible that I can point you somewhere useful. I'll be back with more if I come up with anything.
essaysnarkParticipantHi Robby --
I think what you're experiencing might be due to a change in Genesis 1.9.1. This is the code that StudioPress Support gave us when we had a similar issue after upgrading in March. This would need to go in functions.php (the code in home.php is apparently ignored now):
`
/** Change the query to display 5 posts on the home page */
/** code from StudioPress Support after Genesis 1.9.1 upgrade */
add_action('pre_get_posts', 'child_change_home_query');
function child_change_home_query( $query ) {
if( $query->is_main_query() && $query->is_home() ) {
$query->set( 'posts_per_page', '5' ); //governs posts to show on the home page
}
}
`essaysnarkParticipantHey Kirk --
The first question is easy: Get the Widget Logic plugin: http://wordpress.org/extend/plugins/widget-logic/‎
When you're assigning widgets to the sidebar, you can specify which page(s) you want them to show on, using standard WordPress conditional logic. For example, if you want one widget to appear in a particular sidebar but only on the home page, you'd put `is_home()` in the Widget Logic field. It's really easy to use and quite awesome.
For loading new templates in your WordPress instance, you need to FTP the file to the directory on the server. That's a WordPress thing, not a Genesis thing. Once you've uploaded the template you can then edit it through the WordPress admin screen. There's no "save-as" type feature to get a new template created from an existing one, if that's what you're looking for.
I'm not entirely sure what you're asking in the next part, about how most people use Genesis - and I'm also not an AgentPress user anyway, but I'm sure there are others here that can help if you have something specific on that theme.
There's definitely a learning curve with this stuff - it's daunting to pick up BOTH the WordPress AND the Genesis stuff simultaneously (just went through that process). But it's worth it! Very powerful set of tools.
essaysnarkParticipantI'm definitely no CSS expert but what I'd try first is this:
Move the line
`background: #000 url(images/header.png) no-repeat top left;`from the #header style to the #wrap style above it.
essaysnarkParticipantAre you saying that you have a background image that's repeating, and you can see the seam? If so, we had to put   <code>padding:0px;</code> in the #header style to fix that.
If that's not what you mean, then please give us a link to your site so we can see what's happening.
essaysnarkParticipantWe don't have any experience with the forum plugins, but we do use Premise, in case we can answer questions on that.
We also use Paid Memberships Pro (again, not with forums though) - this is an open-source plugin that is also compatible with both BuddyPress and bbPress and may work well for you. http://wordpress.org/support/topic/plugin-paid-memberships-pro-buddy-press?replies=2
essaysnarkParticipantRight - that's what I said, that the built-in date option for Genesis displays on the right side. If you want the simple way to do it,then it's going to be displayed in that location. If you need the date on the left you'll need to implement that with custom coding with Genesis. A more detailed tutorial on adding the login link is here: http://wpsmith.net/2011/genesis/how-to-add-a-loginlogout-link-to-your-wordpress-genesis-custom-menu-based-on-menu-location/
There's definitely a learning curve with this stuff! You can find some good tutorials here if you haven't seen them already: http://my.studiopress.com/tutorials/
essaysnarkParticipantEasiest at this point might be to see if your webhost has a backup of your site that they can restore for you.
essaysnarkParticipantYeah, no spellcheck in the compiler, right?
And very impressed that you not only used polymorphism in a sentence but spelled it correctly too! I have no idea what that word means so you got that one on me for sure (so strange that I can detect when a word is misspelled yet still not know its meaning - I got a different set of tools installed in the factory, I think).
And by trade, we're more 'snark' than 'essayist', though 'essayist' is a funner word to say. May have to adopt that label for ourselves.
essaysnarkParticipantlovingdesign, we built our own site that does exactly what you've said using the Premise plugin (also by StudioPress) and the Formidable Pro forms plugin. Here's how it works:
- Premise handles all client purchases through PayPal. When someone buys something they get access to a client portal page, the contents of which are displayed custom to them based on what they've bought using the Premise shortcodes. The shortcodes look like this: `[show_to accesslevel="productname"] (link to a dedicated product page goes here) [/show_to] `This means they only get to see links to the products they've purchased. (In our case, they're actually consulting services that they've bought, not products, but it works the same.)
- The client goes to the dedicated product page to submit things to us. We built out file submission forms using Formidable. Each client can only see their own stuff. This is managed through some CPTs and private posts - this part was definitely trickier.
We don't have any experience with S2 Member so don't know if it can do this but we did research them and decided on Premise instead. If you don't need your clients to submit anything to you, then the whole thing can be easily managed with Premise.
Happy to answer other questions if you have them.
essaysnarkParticipantWell, that site isn't using Genesis but there's an easy way to get what you want if you are OK with compromising on the locations. You should be able to at least get the date in the right-hand position of your primary nav menu through Genesis -> Theme Settings. In the Navigation section, choose the Enable Extras option and select Today's Date from the dropdown. You could then have a Login item as the first choice on your primary nav menu; here's a recent thread on that: http://www.studiopress.community/topic/how-to-creat-loginlog-out-menu-link/
essaysnarkParticipantI've heard people pronounce this word in exactly that way - it's a doozy to say or to spell - so no prob on the creatively-written version! Thanks for checking it out so fast. I actually figured it might be intentional since I've never seen any code published on the StudioPress site that didn't actually work. 🙂
Thanks Dave!
-
AuthorPosts