zirka
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Custom Fields to add page to sidebar and sidebar keeps the pagesDoes this code work properly in the sidebar or do I have to do some loop codes first?
When I replace my code:
<?php $newpage = get_post_meta ($post->ID, 'newpage', true); ?>with yours I get a number to be displayed, but it is a number that none of my pages match and I don’t know how to get this number to be displayed in this part of my sidebar:
<div class="box-sidebar"> <h3 class="trigger"><?php echo $newpagetitle; ?></h3> <ul class="slider"> <?php if(function_exists('iinclude_page')) iinclude_page(($newpage), 'displayStyle=DT_TEASER_MORE&more=More information »'); ?> </ul> </div> <!-- end box -->Forum: Themes and Templates
In reply to: Custom Fields to add page to sidebar and sidebar keeps the pagesThank you, I’ll look into this. Will respond if it works.
Forum: Themes and Templates
In reply to: Custom Fields to add page to sidebar and sidebar keeps the pages– Yes the key is newpage and the value is page id. I am able to make the page appear in the sidebar when I do this but unfortunately the new page only appears in the sidebar on the SAME post I added this custom field. I want the new page to appear on every page inside the sidebar!
– I’m using the improved include page plugin because it’s alot easier to use this plugin in my template code to display a specific page rather than playing with multiple loops and queries that screw up the rest of the theme.
Forum: Fixing WordPress
In reply to: Use Custom Fields to add new post/page to sidebarStill having trouble getting custom fields to put my code into the sidebar on every single page and not just the post page that generated this custom field. Help?
Forum: Fixing WordPress
In reply to: Use Custom Fields to add new post/page to sidebarDid I post this problem in the wrong forum? If so, pls direct me to the right one.
Forum: Fixing WordPress
In reply to: Use Custom Fields to add new post/page to sidebarActually I got the post to be displayed in my sidebar like so in sidebar.php:
<?php $newpage = get_post_meta ($post->ID, 'newpage', true); ?>and then:
<?php if(function_exists('iinclude_page')) iinclude_page(($newpage), 'displayStyle=DT_TEASER_MORE&more=More information »'); ?>The value of the custom field would simply be any page number I want.
Problem is, though, the page only displays in the sidebar when I am actually in the post that has my custom field. Is there a way for the new page to display on every page in the sidebar after I submit the custom field?
Forum: Fixing WordPress
In reply to: Use Custom Fields to add new post/page to sidebar<?php if(function_exists('iinclude_page')) iinclude_page(2, 'displayStyle=DT_TEASER_MORE&more=More information »'); ?>Forum: Fixing WordPress
In reply to: [Plugin: NextGEN Gallery] Slideshow doesnt work with last uptdatezenkilye’s suggestion of typing in the exact URL of the .swf file and then clicking save worked for me. Nothing else worked.
Forum: Fixing WordPress
In reply to: [Plugin: Contact Form 7] No Input boxes appearThe only code you have to paste anywhere are the 2 lines of code I just posted, and I meant at the bottom of the entire style.css sheet, and the style.css file you need to edit is the one that your current theme is using. I didn’t touch the plugin’s code.
You might need to change permissions, try changing permissions of the plugin folder to 777 and maybe even your sytle.css file to 777, see if then the box outlines appear. You are probably using an FTP client so just right click on the folder and change permissions.
Forum: Fixing WordPress
In reply to: [Plugin: Contact Form 7] No Input boxes appearIn your style.css file in your current theme’s folder you just copy/paste
div.wpcf7 input {border: 1px solid black;} div.wpcf7 textarea {border: 1px solid black;}You should probably paste at the bottom of the sheet, the codes worked for me.