Cory1990
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Sudden Error on line 63yes. that was the code i made a copy and paste of in a notepad
Forum: Themes and Templates
In reply to: Sudden Error on line 63Parse error: syntax error, unexpected ‘}’ in /home/content/n/i/k/nikana/html/wp-content/themes/4log_redesign_2012/library/wrappers.php on line 63
Forum: Fixing WordPress
In reply to: Remove H1 and H2 tags from header on posts?Well i tired that..and now i have a major problem. My site has crashed…
Im not sure what I did. I made a back up of the code.
But now it says there is an error on like 63???
Forum: Fixing WordPress
In reply to: Remove H1 and H2 tags from header on posts?‘theme_header_show_headline’ => 1,
‘theme_header_show_slogan’ => 1,is this what im looking for? switch it to a different heading? Or is the 1 value saying true?
Also i found some wrapper options. 9( a lot of code sorry)
unction theme_post_wrapper($args = ”) {
$args = wp_parse_args($args,
array(
‘id’ => ”,
‘class’ => ”,
‘title’ => ”,
‘thumbnail’ => ”,
‘before’ => ”,
‘content’ => ”,
‘after’ => ”
)
);
extract($args);
if (theme_is_empty_html($title) && theme_is_empty_html($content)) return;
if ($id) {
$id = ‘ id=”‘ . $id . ‘”‘;
}
if ($class) {
$class = ‘ ‘ . $class;
}
?>
<div class=”art-post<?php echo $class; ?>”<?php echo $id; ?>>
<div class=”art-post-body”>
<div class=”art-post-inner art-article”>
<?php
echo $thumbnail;
if (!theme_is_empty_html($title)){
echo ‘<h2 class=”art-postheader”><img src=”‘.get_bloginfo(‘template_url’).’/images/postheadericon.png” width=”29″ height=”21″ alt=”” />’.$title.'</h2>’;
}
ob_start();
echo $before;
$meta = ob_get_clean();
if (strlen($meta) > 0) {
echo ‘<div class=”art-postmetadataheader”>’.$meta.'</div>’;
}?>
<div class=”art-postcontent”>
<!– article-content –>
<?php echo $content; ?>
<!– /article-content –>
</div>
<div class=”cleared”></div>
<?php
echo $after;
?>
</div>
<div class=”cleared”></div>
</div>
</div>i notticed a few parts have the H2 code. DOes this help?
Forum: Fixing WordPress
In reply to: Remove H1 and H2 tags from header on posts?deleted
Forum: Fixing WordPress
In reply to: Remove H1 and H2 tags from header on posts?Is there a way to simply remove my header all together for posts?
Forum: Fixing WordPress
In reply to: Remove H1 and H2 tags from header on posts?Yea this has become a nightmare, and I know it is affecting my search results. Essenitally all of my posts have my site name as the first heading.
Forum: Fixing WordPress
In reply to: Remove H1 and H2 tags from header on posts?Yea. Its a theme i made in artisteer. Is there a plugin that simply removed H1 and H2 defualt tags on single posts.
Forum: Fixing WordPress
In reply to: Remove H1 and H2 tags from header on posts?Alright im crazy confused now. THis is what is in the content single.php
<?php
global $post;
theme_post_wrapper(
array(
‘id’ => theme_get_post_id(),
‘class’ => theme_get_post_class(),
‘title’ => theme_get_meta_option($post->ID, ‘theme_show_post_title’) ? get_the_title() : ”,
‘before’ => theme_get_metadata_icons(‘date,author,edit’, ‘header’),
‘content’ => theme_get_content(),
‘after’ => theme_get_metadata_icons(‘category,tag’, ‘footer’)
)
);
?>Am i reading correctly that it is once again taking the info from another page? THe get meta options?
Forum: Fixing WordPress
In reply to: Remove H1 and H2 tags from header on posts?I am having issues editing this because it seems my template is vastly different from others. Here is a little bit of code form the single.php
if (have_posts()){
/* Display navigation to next/previous posts when applicable */
if (theme_get_option(‘theme_top_single_navigation’)) {
theme_page_navigation(
array(
‘next_link’ => theme_get_previous_post_link(‘« %link’),
‘prev_link’ => theme_get_next_post_link(‘%link »’)
)
);
}while (have_posts())
{
the_post();
get_template_part(‘content’, ‘single’);
comments_template();It seems that it is pulling from the info for a single php from a different part of the template.
Am i reading that correct?
Forum: Fixing WordPress
In reply to: How to edit a few things…I am already using Yoast.
THe issues is every once awhile all of the meta data just wont send. The only way to fix it is to make a new post. I want to get around that.
Forum: Fixing WordPress
In reply to: Weird code suddenly appeared on top of my pageOk found the culprit…for some reason it just takes a few minutes for it to take effect.
Its my Easy WP SEO plugin…any idea how fix this?
Forum: Fixing WordPress
In reply to: Weird code suddenly appeared on top of my pagei didnt…it’s on my page…wth
Forum: Fixing WordPress
In reply to: Weird code suddenly appeared on top of my pagetried that too ??
Forum: Fixing WordPress
In reply to: Weird code suddenly appeared on top of my pageI already tried that. Ive disabled every plugin and still the code was there ??
SOrry to be a pain…