Nik_10
Forum Replies Created
-
Forum: Plugins
In reply to: Events Made Easy Events Not Appearign in SitemapHi Franky,
Can you help me? I updated the plugin today and now I can’t schedule anything for PM…. only AM. Even thought the time listed on the events page is 01:00 PM (1300), it still shows AM on the calendar and single event page.What gives?
Thanks!
Forum: Themes and Templates
In reply to: How to change logo image in header.php in all but Home pageso how would I write to include the image on a certain page? Would i just edit this part:
‘<div class=”logo”>
<?php $my_framework_logo = get_option(‘my_framework_logo’); ?>
<?php if($my_framework_logo){?>
/”><img src=”<?php echo get_option(‘my_framework_logo’); ?>” alt=”<?php bloginfo(‘name’); ?>” title=”<?php bloginfo(‘description’); ?>”>
<?php } else { ?>’or would I create another php file like a header-1 to use on all pages except home?
Forum: Themes and Templates
In reply to: Removing Author InfoThanks Maskom! I did that and it removed the previous/next from both the blog page and the portfolio posts…. which I don’t want.
But… it didn’t remove the author info.
Is there a way I can keep the previous/next on the single blog post while removing it from the portfolio post?
Thanks!
Forum: Themes and Templates
In reply to: Removing Author InfoOk I managed to fix my permalinks issue… I had to rename my “Portfolio” menu to “Work” and now it seems I can successfully use %post_name%.
So yay for that!
BUT… I still can’t figure out how to remove the author info and the next and previous arrows from my portfolio post pages. Here is an example of the portfolio post https://www.nikdesigns.com/portfolio/justice-for-chloe/
Can anyone help? Here is the link to the template that I am using as the page to display the categories: https://pastebin.com/ySvMYw9v
But I think that the actual link that goes to the post is running off of single.php. Here is the code for that: https://pastebin.com/FT0Z8p7w
The biggest thing that I want to do is remove the author and previous/next from the portfolio category pages ONLY. I still want it on the blog single posts.
Are these running off of the same php because one has the comment box and one does not.
Please help!
Thanks!
Forum: Themes and Templates
In reply to: Removing Author InfoI still want the author info and the comment box on the blog posts, but I don’t want them on the portfolio posts… I only see the one single.php file but why would the pages look different if they are both running off of the single.php template?
The single blog page currently has both the author info and the comment box but the portfolio post page only has the author box.
Shouldn’t they both have both elements since they are using the same template?
Oh, and I changed the permalinks to the post name which worked fin on the blog post but now I get 404’s on all of the portfolio post pages.
Forum: Themes and Templates
In reply to: Adding New SidebarsI got it to work…. thanks for the help!!
Nik
Forum: Themes and Templates
In reply to: Adding New SidebarsFunctions.php– https://pastebin.com/u8AXdygd
sidebar-2.php:
‘<div id=”sidebar” class=”sidebar-2″ role=”complementary”>
-
<?php if ( !dynamic_sidebar(2) ) : ?>
- please use widget in area 2
<?php endif; ?>
</div>’
Page.php– https://pastebin.com/MAsHV4K7
sidebar.php:– https://pastebin.com/arP721A1
Thank you for your help! This theme is really old and I am having problems working with it.
Forum: Themes and Templates
In reply to: Adding New SidebarsThis is what I currently have in my functions.php file for the second sidebar:
‘if ( function_exists(‘register_sidebar’) ) {
register_sidebar(array(
‘name’ => ‘Sidebar2’,
‘id’ => ‘sidebar-2′,’Is that where you are saying I need to make the change?
I changed the sidebar-2.php file and added the call for that sidebar to my page.php file but I am still only seeing the original sidebar. If I delete the <?php get_sidebar(); ?> from my functions.php file it still shows the info in the first sidebar widget.
Forum: Themes and Templates
In reply to: Adding New SidebarsHi Jose,
So you are saying that I need to remove the “@package WordPress” from both sidebar php files? Is this the right place to remove it from:‘<?php
/**
* @package WordPress
* @subpackage Default_Theme’And then remove the whole line with the function_exists() from the same pages:
‘<?php /* Widgetized sidebar, if you have the plugin installed. */
if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar() ) : ?>’Do I keep the list tag after that line?
Thanks!
NicoleForum: Themes and Templates
In reply to: Adding New SidebarsI have tried every option that I can find in forums and from codex but I can’t seem to get my new sidebars to appear on the page.
Where should I be calling the sidebar from?
I deleted the line in the index.php file for sidebars and the one still appears.
Can anyone help?
Thanks!
Forum: Themes and Templates
In reply to: Adding New SidebarsApologies on the code. Thanks Jose I will take a look!
Forum: Fixing WordPress
In reply to: Adding div with bg image to header.phpYEAH!!
Thank you sooo much for your help! I don’t know very much about php but I am trying to help set up this donation site!You have really done your good deed!!!
Many MANY thanks!!
NicoleForum: Fixing WordPress
In reply to: Adding div with bg image to header.phpForum: Fixing WordPress
In reply to: Adding div with bg image to header.phpHello,
I changed the background image in the css… but that’s all I changed and I can’t get the link to work.Here is my css:
.fb-header {
height: 120px;
width: 156px;
background-image:url(https://justiceforchloe.com/wp-content/themes/colorway_child/images/donate_icon.png);
float:right;
margin-right:25px;
margin-top:10px;
}and here is what is in my header.php:
<!–Start Header Grid–>
<div class=”grid_24 header”>
<div class=”fb-header”>
</div>The image has changed but I can’t seem to get it to link to the correct page.
Can you help me?
Thank you thank you!!!
Forum: Fixing WordPress
In reply to: Adding div with bg image to header.phpWoo hoo! Thank you so much! So to actually link it to the fb page I would do that in the php file, correct?
Thanks for your help!