Forum Replies Created
-
AuthorPosts
-
MealtogMember
Hey Brad, as always, thanks for your help here. Unfortunately, that chunk of code broke the page or archive page from displaying. Site stopped loading just below the Title shows up. Any ideas?
MealtogMemberI have been wondering about this function lately. Sometimes it is nice to get the full site especially for troubleshooting. Who else uses this function on responsive themes?
MealtogMemberWait, let me answer my own question. Found this one and it works well: http://www.carriedils.com/widget-area-above-header-genesis/
Hope this helps others too.
MealtogMemberI think the Simple Edits plugin is preventing the post info to be changed. And the theme is indeed HTML5 so I may have to keep testing. Thanks so much for getting me started. Maybe SP should come up with some common layouts for us non developer types 🙂
MealtogMemberHey, the 2nd example works. When I tried adding the 2nd part of the first example, it breaks the category page. I think there is an extra } at the end.
After removing this, the category page did not change. I must be missing something?
<?php /* Template Name: News Category Template */ // Force default width layout add_filter( 'genesis_theme_settings_defaults', 'outreach_theme_defaults' ); add_filter('post_class', 'library_post_class'); function library_post_class( $classes ) { global $loop_counter; $paged = get_query_var('paged') ? get_query_var('paged') : 1; $classes[] = 'library-posts'; return $classes; } // Add featured image above title on teasers add_action('genesis_before_post_title', 'library_teaser_image'); function library_teaser_image() { global $loop_counter; $paged = get_query_var('paged') ? get_query_var('paged') : 1; printf( '<p><a href="%s">%s</a></p>', get_permalink(), genesis_get_image ( array( 'format' => 'html', 'size'=> 'library-thumb' ) ) ); } genesis();
MealtogMemberhey thanks for the great tutorial in here. I will just have to figure out which elements I want to call and add these to the .php file. I do see each category has a layout that you can choose from. For my case, I would still use the default layout, but i just want the body portion to look different. Will have to keep testing and finding the right codes.
So Outreach does have a a page_landing.php file. I used that in a category-id.php file and it works. Is there a theme that you may know of that has say, the default layout but just a Featured Image and title in the body? Would love to find one that I just use.
Also, I used cpanel to create the category.php file. Does Genesis allow us to create this file from WP itself?
Again, thanks so much for all your help thus far! Not just for the above but for all other feedback you contribute to my other posts and within this forum.
Come to think of it, I can just view each HTML5 theme at SP and find the ones with portfolios and perhaps I can just grab those .php files? Would that work?
MealtogMemberok, I sort of understand. Fist of all, what goes into the category-ID.php page? I tried grabbing theme-defaults.php as is and it broek that category.
MealtogMemberI understand what you are saying and yes, NextGen apparently was a nightmare to long time users. I find WP has a different vibe when it comes to development of plugins. Well, I can only compare it to the Drupal world.
Being someone who does not follow who the long time / big shot developers are, I rely on looking at the support tab of the plugin to see if the developers are responsive to questions and on user reviews. What other method do we have to gauge the risk factor when choosing a plugin right?
And if there are not that many people using it, chances are, the plugin will not be maintained. This is what I see over the last 10 yrs in the WP world. So, when rolling out a large site, I try to minimize things breaking from any sort of a plugin when possible.
Yes, plugins are great but only if they work after WP core upgrades 🙂
MealtogMemberThose are exactly it. I can style each element but first I need to know how to create the template.php file and how to implement it. I am thinking I will make these specific to a category, thus, I think the naming has to match a category right? Any insight on how I can do this would be fantastic!
MealtogMemberHmm, do you have a quick tutorial that I can try this out. I have never had to do this yet but having an easy way to display certain categories would be a good thing. Say, I want to show 3 columns of just thumbnails and title for the entire category with max of say 60 then user can click to Page 2. Does that make sense?
Some Categories may not even have 60 so displaying them in a nice grid would be nice. I saw a plugin that sort of does this (Gen Grid maybe) but it was too
uglybuggy to roll out.MealtogMemberI guess we interpret timelines differently lol. As we are rolling out a prety large and complicated sites, the last thing I want is to have to trouble shoot a plugin that only has 2000 installs, hence, probably bugs that have not been discovered and reported yet.
Requires: 3.0 or higher
Compatible up to: 3.7.1
Last Updated: 2014-2-23
Downloads: 2,077I tend to stay away from plugins that have so few installs but this is a personal preference of course.
MealtogMemberI have been meaning to test out different looking archive pages. Wished Genesis would come with a few standard ones that are generic enough for us to edit. I remembers spending loads of time to find a template that I can drop in to a Gen child theme a while back and the result was a big fat zero. 🙂
MealtogMemberThanks Summer. I did get Co-Author Plus to work once I installed the Genesis Co-Author Plus plugin. But unfortunately, this displays an ugly block of the Author bio near the top and bottom of each post. Not only was I not able to find a switch to turn this off, I have a bad feeling about using a such an old plugin for a large / complicated site. I am still trying to figure out a way to do this without having to worry about code and plugins breaking in the near future.
If anyone has a better method, do share please.
MealtogMemberLooks like maybe a later Gen release made the if else statement not work. I also see 2 lines of meta info. ie. both if and else displays. Does anyone know how to make this code work? It's been a struggle to get the latest Genesis to work with Co-Author Plus.
add_filter( 'genesis_post_info', 'ddw_coauthors_post_info_filter' );
/**
* Customize the post info function for the use with Co-Authors Plus plugin
*
* @author David Decker - DECKERWEB
* @link http://twitter.com/deckerweb
*/
function ddw_coauthors_post_info_filter( $post_info ) {/** Check for active "Co-Authors Plus" plugin */
if ( function_exists( 'coauthors_posts_links' ) ) {$author_post_link = coauthors_posts_links();
} else {
$author_post_link = '[post_author_posts_link]';
} // end-if plugin function check
if ( ! is_page() ) {
$post_info = '[post_date] by ' . $author_post_link . ' [post_comments] [post_edit]';
return $post_info;
} // modify the byline output
} // end of function
MealtogMemberI just loaded a new site up 2 days ago and have not even got down to the comments section yet. Unless I flipped the switch and forgot?
Nonetheless, will Disqus still "sync" if I disable comments on WP?
MealtogMember@genrock, I finally found this to work but yours with the dotted line looks great.
.entry-tags {
display: block;
margin-top: 25px;
}So do you think display: block; would work better or worst than what you had?
MealtogMemberHi Anita, yes, I tried those codes but it treats both Filed Under and Tagged as one chunk. At the moment, Outreach is serving up Filed Under left justified and Tagged Right justified on the same line. I am trying to move Tagged 1 line below Field Under and left justified as well. Not having luck messing with CSS.
Anyone have some CSS code that I can use?
MealtogMemberBelinda, unfortunately, you are finding out what the real world scenarios are even though most designers and developers tell you it's easy, just develop on a subdomain. For the average person, it's never as easy as the advice makes it sound.
As for your database, if you are just moving from sub-domain to domain, then you may not need to adjust any database connections (wp-config) or move the database.
You may now need to go into the Wordrpess table (wp_options) inside the database and update the "siteurl" and "home" values to not include your subdomain.
And most importantly, most tutorials will also miss this part, you may need to adjust 2 lines in your htaccess file.
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>You will see how yours differ from these.
One last thing, depending on how you added images, crated links, installed and customized plugins, these may still have remnants of the subdomain URL in the database. You will have to manually update these inside the database.
These are general guidelines. Post back if you need more help.
So for future reference, I suggest installing on the actual domain if it's a new site, install the plug in I suggested then develop away.
MealtogMemberBelinda, moving WordPress from subdomain is easy once you have done it. No matter what tutorials you read, you may still run into snags.
Here is the most important question. Is this a new site? if so and no one needs to access it now, just install WordPress as if you were launching it, then install the Ultimate Coming Soon Page. This plugin makes it so only logged in users would be able to see and edit the site. You develop here on the live domain. Everyone sees a welcome page with your customized message.
MealtogMemberUse this tool to test what Google sees, with and without your code: http://www.google.com/webmasters/tools/richsnippets
-
AuthorPosts