Forum Replies Created

Viewing 12 replies - 46 through 57 (of 57 total)
  • Thread Starter jabb

    (@jabb)

    I found this in loop.php. Something in here?

    <?php $t =& peTheme(); ?>
    <div id="main">
    <?php while ($t->content->looping() ) : ?>
    <?php $media = isset($t->template->args["media"]) ? $t->template->args["media"] : true; ?>
    <?php $link = get_permalink(); ?>
    <?php $hasFeatImage = $t->content->hasFeatImage(); ?>
    
    <!--post-->
    <div class="post <?php echo (is_single() || is_page()) ? "single" : "" ?> clearfix">
    	<a>"><h2><?php $t->content->title() ?></h2></a>
    	<ul class="post-meta">
    		<li class="author"><?php echo __pe("By "); ?> <a href="#"><?php $t->content->author(); ?></a>
    		<li class="date"><?php $t->content->date(); ?>
    		<?php the_tags('<li class="tags">',' 路 ',''); ?>
    		<li class="comments"><a>"><?php $t->content->comments() ?> <?php echo __pe("Comments "); ?></a>
    
    	<div class="post-entry">
    		<?php if ($media) get_template_part("intro-post",$t->content->format()); ?>
    		<?php $t->content->content() ?>
    	</div>
    </div>
    <!--end post-->
    <?php endwhile; ?>
    <?php if (is_single()): ?>
    <?php get_template_part("common-pager"); ?>
    <?php comments_template(); ?>
    <?php else: ?>
    <?php $t->content->pager(); ?>
    <?php endif; ?>
    </div>
    Thread Starter jabb

    (@jabb)

    Thank you WPyogi; that worked.

    Thanks everyone for taking the time to help!

    Thread Starter jabb

    (@jabb)

    Would that go on the contact.php? Or on the page-contact.php?

    The contact.php shows this:

    [excessive and mangled code removed ]

    Thread Starter jabb

    (@jabb)

    Thought I marked this resolved. Trying again. Thanks for helping!

    Thread Starter jabb

    (@jabb)

    Sorry for not responding sooner.
    This is what is on common-tagline.php:

    <?php $t =& peTheme(); ?>
    <?php $meta =& $t->content->meta(); ?>
    <?php
    
    $tagline = "";
    $autoSection = true;
    
    if ((is_single() || is_page()) && !empty($meta->tagline->content)) {
    	$autoSection = false;
    	$tagline = $meta->tagline->content;
    } else if (is_404()) {
    	$tagline = $t->options->get("404title");
    } else {
    	$tagline = wp_title("",false);
    }
    
    ?>
    
    <?php if (is_page()): ?>
    <?php switch ($t->content->pageTemplate()): case "page-home.php" ?>
    <h1 class="page-title">
    <?php break; case "page-home_simple.php": ?>
    <h1 class="page-title-alt">
    <?php break; case "page-contact.php": ?>
    <h1 class="page-title-inner fixed">
    <?php break; default: ?>
    <h1 class="page-title-inner">
    <?php endswitch; ?>
    <?php else: ?>
    <h1 class="page-title-inner">
    <?php endif; ?>
    <?php if ($autoSection): ?>
         <span class="section-title"><?php echo $tagline ?></span>
    <?php else: ?>
    	 <?php echo $tagline ?>
    <?php endif; ?>
    </h1>
    Thread Starter jabb

    (@jabb)

    Here is what’s on page-blog.php:

    <?php
    /*
    Template Name: Blog
    */
    ?>
    <?php $t =& peTheme(); ?>
    <?php $content =& $t->content; ?>
    <?php $meta =& $content->meta(); ?>
    <?php get_header(); ?>
    <?php get_template_part("common","tagline"); ?>
    
    <!-- Main Content -->
    <?php $content->blog($meta->blog); ?>
    <!-- /Main Content -->
    
    <?php if ($meta->blog->layout != "alternate") get_sidebar() ?>
    <?php get_footer(); ?>'
    
    And here is what is on single-post.php:
    
    '<?php $t =& peTheme(); ?>
    <?php get_header(); ?>
    <?php get_template_part("common","tagline"); ?>
    
    <!-- Main Content -->
    <?php $t->content->loop(); ?>
    <!-- /Main Content -->
    
    <!-- Sidebar -->
    <div id="sidebar">
    <?php get_sidebar() ?>
    </div>
    <!-- /Sidebar -->
    
    <?php get_footer(); ?>

    I’m not sure the easiest way to show you all his content-php files here.
    Under folder sda-seattle, the main folders are:
    css
    demo
    framework
    images
    js
    languages
    licensing
    php
    theme
    then under that theme folder, there are folders:
    compressed
    php
    then under that php folder, there is folder:
    PETheme
    then under that PETheme folder, the folders are:
    constant
    shortcode
    widget

    Thread Starter jabb

    (@jabb)

    @thecodeisclear – thank you! I found his custom footer.php and made the change. Thank you so much for spelling out what exactly what text I was to remove.

    Thanks also to wpfan1000 for taking the time to respond.

    Thread Starter jabb

    (@jabb)

    Thank you. Yes, the developer (who is no longer working for us on our site) did a lot of customizations. When you say I could change it to “Copyright 2015” do I insert that inside the parenthesis where it currently says “footerCopyright”?

    Thread Starter jabb

    (@jabb)

    Marking this resolved. @crouchingbruin, thanks so much for your help! (Duh on me for not realizing the menu text turns bold when it’s selected.)

    Thread Starter jabb

    (@jabb)

    Thank you. I tried you For example, and it worked as you said it would it change menu text to red color (then I deleted that because I want black text instead).

    I have to tell you that how you explained the child style.css to me, I finally understand that now, and all because you spoke in layman’s terms. Thank you.

    Sorry, I need to ask one more thing though and I hope you don’t mind. Now on my menu, the text that says WHO WE ARE is bold font but it shouldn’t be. (Yes, I’m still a newbie.)

    I appreciate you taking the time to help me with this!

    Thread Starter jabb

    (@jabb)

    Thanks. I reinserted the ending comment tag on the style.css on the child theme. I did not intentionally change the site title color, so I was surprised it changed. I’m a newbie on this.

    As for your rules which follow comment, does that mean my child style.css is supposed to contain all the text similar to or same as the twenty twelve theme, that goes all the way down to line 1770?

    Right now, when I open Appearances, Editor and select TwentyTwelve Child, all I have showing on right side style.css and footer.php and functions.php.

    Thread Starter jabb

    (@jabb)

    Never mind. I finally figured out the enqueue the parent and child theme stylesheets stuff. Seems to be working now.

Viewing 12 replies - 46 through 57 (of 57 total)