iwoolman
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Need help with line breaks for poetry…Got it. I think. Thanks for the help.
Forum: Fixing WordPress
In reply to: Need help with line breaks for poetry…Hi, Joy. Thank you. This is great. Also a tad beyond me. I played with the <div> in the WordPress editor, enough to get a sense of it. But I’m not skilled enough to really apply it.
I’d like to try to emulate that site, using the Adobe Caslon Pro font. If it’s simple for you, would you please tell me what style information to put into Additional CSS in the Customize part of WordPress? And if it’s not simple (and even if it is), please let me know if you’d be interested in doing this for hire.
Thanks for sharing your expertise,
Brian
P.S. If making the font smaller for mobile is something that can be done in the Additional CSS feature, I’d like to look at that, too. Thanks again.
Forum: Fixing WordPress
In reply to: Make Comments Count on Homepage ClickableHey Michael,
As you suggested, I’m seeking help from the theme creator, Elegant Themes (with no fix so far).
Again, I appreciate your sharing your expertise. I just want to play on the Internet, not become a coder, and folks like you make that possible.
Thanks.
Forum: Fixing WordPress
In reply to: Make Comments Count on Homepage ClickableWorks beautifully. Thank you for sharing your expertise. That took less that two minutes to execute. I then spent more than an hour trying to get it to perform from my child theme. Here’s the error:
Warning: require(/home/content/p3pnexwpnas07_data03/23/3254023/html/wp-content/themes/Divi/includes/builder/main-modules.php): failed to open stream: No such file or directory in /home/content/p3pnexwpnas07_data03/23/3254023/html/wp-content/themes/Divi/includes/builder/framework.php on line 167
Fatal error: require(): Failed opening required ‘/home/content/p3pnexwpnas07_data03/23/3254023/html/wp-content/themes/Divi/includes/builder/main-modules.php’ (include_path=’.:/usr/local/php5_4/lib/php’) in /home/content/p3pnexwpnas07_data03/23/3254023/html/wp-content/themes/Divi/includes/builder/framework.php on line 167
Please let me know if you have any thoughts or if you need any more information (assuming you have the availability and willingness to keep doing this).
Thanks again.
Forum: Fixing WordPress
In reply to: Make Comments Count on Homepage ClickableThanks for answering, Michael.
Theme: Divi by Elegant Themes
The index doesn’t appear to have the number, that I can tell:
<?php get_header(); ?> <div id="main-content"> <div class="container"> <div id="content-area" class="clearfix"> <div id="left-area"> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); $post_format = et_pb_post_format(); ?> <article id="post-<?php the_ID(); ?>" <?php post_class( 'et_pb_post' ); ?>> <?php $thumb = ''; $width = (int) apply_filters( 'et_pb_index_blog_image_width', 1080 ); $height = (int) apply_filters( 'et_pb_index_blog_image_height', 675 ); $classtext = 'et_pb_post_main_image'; $titletext = get_the_title(); $thumbnail = get_thumbnail( $width, $height, $classtext, $titletext, $titletext, false, 'Blogimage' ); $thumb = $thumbnail["thumb"]; et_divi_post_format_content(); if ( ! in_array( $post_format, array( 'link', 'audio', 'quote' ) ) ) { if ( 'video' === $post_format && false !== ( $first_video = et_get_first_video() ) ) : printf( '<div class="et_main_video_container"> %1$s </div>', $first_video ); elseif ( ! in_array( $post_format, array( 'gallery' ) ) && 'on' === et_get_option( 'divi_thumbnails_index', 'on' ) && '' !== $thumb ) : ?> <a href="<?php the_permalink(); ?>"> <?php print_thumbnail( $thumb, $thumbnail["use_timthumb"], $titletext, $width, $height ); ?> </a> <?php elseif ( 'gallery' === $post_format ) : et_pb_gallery_images(); endif; } ?> <?php if ( ! in_array( $post_format, array( 'link', 'audio', 'quote' ) ) ) : ?> <?php if ( ! in_array( $post_format, array( 'link', 'audio' ) ) ) : ?> <h2 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2> <?php endif; ?> <?php et_divi_post_meta(); if ( 'on' !== et_get_option( 'divi_blog_style', 'false' ) || ( is_search() && ( 'on' === get_post_meta( get_the_ID(), '_et_pb_use_builder', true ) ) ) ) { truncate_post( 270 ); } else { the_content(); } ?> <?php endif; ?> </article> <!-- .et_pb_post --> <?php endwhile; if ( function_exists( 'wp_pagenavi' ) ) wp_pagenavi(); else get_template_part( 'includes/navigation', 'index' ); else : get_template_part( 'includes/no-results', 'index' ); endif; ?> </div> <!-- #left-area --> <?php get_sidebar(); ?> </div> <!-- #content-area --> </div> <!-- .container --> </div> <!-- #main-content --> <?php get_footer(); ?>
Elegant Themes support had me looking at a file called main-modules.php. They told me to replace this code:
sprintf( esc_html( _nx( '1 Comment', '%s Comments', get_comments_number(), 'number of comments', 'et_builder' ) ), number_format_i18n( get_comments_number() ) )
With this code:
sprintf( '<a href="www.littlepurplemen.com">'.esc_html( _nx( '1 Comment', '%s Comments', get_comments_number(), 'number of comments', 'et_builder' ) ), number_format_i18n( get_comments_number() ).'</a>' )
Which, after that failed and they moved the issue to the customization thread, I tinkered with and got it to sort of work. If there’s just one comment, the link becomes clickable, but goes to a “No results found” page.
I hope this gives you enough to go on. If there’s anything else I can answer or provide, please let me know.
Thanks.
Forum: Plugins
In reply to: [Helios Solutions Social Media Buttons] Icons appear backwards on home pageFixed it.
Forum: Plugins
In reply to: [ZenCache] New post appears, site keeps old archive (and a similar issue)Got it fixed, raamdev. Thanks for your help.
Brian
Forum: Plugins
In reply to: [ZenCache] New post appears, site keeps old archive (and a similar issue)Thanks for taking the time. I almost understand the Clearing the Cache Dynamically page you provided. Probably I’ll get some help with that.
About the home page: Yes, the home page does appear. If I use the previous navigation to go back a page, that works too. It’s when I want to use the next navigation to return to the single-post version of the newest post (a version of which is now the home page) that things break down. It’s as if the new post doesn’t exist: nothing happens with a rollover of the next navigation, nor with a click on that navigation.
Please let me know if that makes sense.
Thanks,
Brian
Forum: Themes and Templates
In reply to: CSS: Position navigation in same place on every postFixed it.
Except now the mobile site is broken. The Social Media Feather buttons at lower right go vertical. Even when I restored everything to its pre-fiddled-around-with state. And with all plug-ins off. Obviously, something changed somewhere along the way. But I don’t know what.
Forum: Fixing WordPress
In reply to: Can't view admin pages (and other related issues)The problem’s back. Something to do with plugins, I think. I’ll work on it again some other day. Or week.
Thanks again.
Forum: Fixing WordPress
In reply to: Can't view admin pages (and other related issues)Hi Krishna,
Thanks for the direction. The site’s back and running. I appreciate your help.
Brian
Forum: Fixing WordPress
In reply to: Can't view admin pages (and other related issues)3.3.1
Yes, I have backups of all files and the database.
Brian
Forum: Fixing WordPress
In reply to: Is it possible to set random background colors?Works perfectly. Thanks, alchymyth.
Forum: Fixing WordPress
In reply to: Is it possible to set random background colors?Hey Admincy,
Thanks. That’s a very cool plugin. Unless there’s some trick I can plug into the CSS section of the plugin settings screen, though, it only lets me permanently set the background color of individual pages and posts. I’d prefer to have post and page colors be random every time someone visits the site. Any ideas on that?
Thanks,
Brian
Forum: Fixing WordPress
In reply to: previous and next on permalink pagesI tried everything in this thread, but have yet to be able to change the the navigation names for “previous post” and “next post” for single pages. I’d like them to read “before” and “after” to match what’s on the main index. Here’s the code that works on single.php
<?php previous_post_link(‘« %link’) ?>
<?php next_post_link(‘%link »’) ?>Any help would be much appreciated.
Thanks,
Brian