- September 11, 2014 at 1:11 pm #3689
I have 3 questions regarding the community headlines. I hope it is ok if I ask them all at once.
1.) How would I permanently change the community headlines from H2 to H3’s? Can this be done via CSS so I can make the changes in my custom CSS plugin so I don’t have to make changes if the theme updates?
2.) the home page displays the communities from A to Z. The community archive page displays the communities from Z to A. How do I change the community archive page to list from A to Z?
3.) The community headline displays the page title. I want to make use of a descriptive rich page title but not have that long title appear as the headline on the home page community section and the community archive page. I would like to have the community name display. What is the easiest and best way to modify existing community headline displays?
- September 12, 2014 at 5:53 pm #3692
Hello? I hope someone is here to help… Need to resolve the above this weekend.
- September 13, 2014 at 12:34 pm #3693
On #1, where exactly are you referencing? The communities section on the home page? The archive page? Or, the single community page? Or all locations?
Note: You don’t have to worry about a theme update overwriting your theme customizations, Carrie and I discuss in this forum post:
On #2, I have used plugins to control custom post type (CPT) sort order in the past. Most recently I used one called Intuitive Custom Post Order. You can select the CPT you’d like to sort in the plugin’s Settings, in this case you can check Communities. Then, when you’re on the Communities section of your Dashboard you can drag and drop the Communities in the order you would like. Here is the link to this plugin, or you might search and see others that are available:
On #3, you can remove the title from displaying in the community entry by editing the single-wap-community.php file. Add this line just before the last entry of genesis();
remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
Found this by searching and landed on this helpful tutorial:
- September 13, 2014 at 6:10 pm #3694
Thanks for the help.
Regarding #1: all locations
Regarding Comment: “Note: You don’t have to worry about a theme update overwriting your theme customizations, Carrie and I discuss in this forum post…”
I get that. But if Winning Agent (the child theme) is ever updated for whatever reason then any changes I make to the Winning Agent php files would be overwritten. I use a plugin to add/change all CSS code updates to prevent this, but when making a change the the php file as mentioned above would cause any of those updates to change. Is this correct or am I missing something?
Regarding #2: I will use a plugin if that is the best recommendation. But before I take this route I also noticed that not only is the order the opposite on the archive page as it is on the home page but the headlines appear above the community photos on the archive page and the headlines appear below the photo on the home page (which is preferred). So because the order is opposite as well as the title being placed in the opposite position makes me think there might be something with the coding and could very well be something I have done without knowing it. I hate to add a plugin which can create slower load times if unnecessary. Here is the home page community page URL: http://fivestarrealty.wpengine.com/ and here is the archive community URL: http://fivestarrealty.wpengine.com/fl/.
Regarding #3: I did not explained the objective very well. I followed the instructions above and this did indeed remove the page title from the single page community pages. However, what I want to accomplish is to remove the community page title from the archive community page and the home page. Once this happens I then need a method to add replace the community page title with the actual community name on the homepage and the archive page.
Here is an example…
ABCDEF Community page has this page title: Explore ABCDEF Facts & Interesting Information
Now on both the community archive page and the home page this long title “Explore ABCDEF Facts & Interesting Information” is placed next to the community photo and of course this is not visually appealing and hard for the visitor to quickly locate the community by name.
Another words, I need to pull or add the community homepage and archive page headings via something else than the page title.
I hope that makes sense. It is sometimes hard to put it all into written text.
Once again, I really appreciate your help and support.
- September 16, 2014 at 5:27 pm #3697
- September 19, 2014 at 4:21 pm #3699
Is anyone here??????
- September 19, 2014 at 5:30 pm #3700
Hi there –
On #1: On theme updates, these will never be pushed out automatically. You cannot always implement all your customizations in CSS, PHP files might need to be edited as well. Or, plugins are good for this purpose too. Having plugins does not necessarily slow down your site, it all depends on the code inside the plugins. If you’re concerned about site performance you can always check out sites like http://tools.pingdom.com/fpt/ that will test a page’s load time and performance for free.
On #2: I recommend a plugin on this otherwise you’re going to have to change the underlying query code (which is pretty advanced) to change the sort order. You can download and evaluate the plugin within minutes to see if it puts the posts in the order you like.
On #3: I hear what you’re saying now, it can be hard to explain 🙂 I have not implemented this exact change that you are doing so I don’t have any code snippets to share.
What you want to do is use a combination of unhooking (removing) post titles and then conditionally adding them back in. These types of customizations are not specific to the Winning Agent Pro theme, but rather can be implemented with any Genesis tutorial that covers the area you’d like to change.
I suggest looking in StudioPress code snippet area, and specifically here:
And this article on Carrie’s site can help with conditional code:
One other site that has a ton of amazing Genesis help is a fella by the name of Sridhar:
He has a lot posts about moving titles above and below images and placing them conditionally in certain places. You’ll see terms like CPT for custom post type (which is what Communities are) so look for that. And finally, he offers customization services on an ad hoc basis that might be a solution to turn your changes around fast. Hope this helps!
- September 20, 2014 at 12:40 pm #3701
Thanks for the feedback. I feel like I am being a pain (not my intent) and I sincerely appreciate your help with these issues. I guess I am one of those theme buyers that need extra support (and hate that I fall into this category!) like Carrie mentioned in one of her past Genesis Hangouts, which I love by the way! 🙂
I have been able to research and find solutions to most questions and when I am asking a question here… it is because I have tried to find a solution and had no luck or I have spent hours trying to find a solution and after awhile I figure the person who wrote the theme could probably provide me the answer in a matter of minutes. So once again thanks for your time and support. Hopefully these final questions will be it.
Here we go…
OK about theme updating. How do I change the H2s to H3s? This is important because currently there are 14 H2s on my home page and the archive page which does not follow SEO best practices.
I added the plugin and that worked to change the order of the community listings. However it did not solve the problem that I need the community post title to appear below the image on the community archive page as it does on the home page. Having the title above in one location and below the image in another location can be confusing for visitors as it is when I view the archive page.
- September 21, 2014 at 4:35 pm #3702
On #1, I’m not sure about this one so I would suggest posting the question and especially the SEO concerns in one of the Genesis areas on Google+ or Twitter or the StudioPress forums. Many developers respond quickly in the Google + area I’ve found.
Google+ – Genesis Framework – Code Snippets
Twitter – Use hashtag #genesiswp
Genesis StudioPress forums -probably target the Design Tips and Tricks section
On #2 I found the answer in one of the resources I’d recommended, http://sridharkatakam.com/. He has an amazing collection of short, helpful tutorials that are easy to read.
See this link below. Even though it’s referencing a different theme the logic still applies:
On the code change, all you have to add is a comma and the number 9 after ‘wap_community_grid’. You’ll be making this change in the file archive-wap-community.php on the line that starts with add_action.
- You must be logged in to reply to this topic.