randyttp
Forum Replies Created
-
Forum: Plugins
In reply to: CCTM – update broke my entire live website. WOW! big whoopsOk I was able to get an older version of the plugin, deleted the whole CCTM folder from my plugins folder via FTP. And then uploaded that older version folder in place… Everything works again, all the posts are still there also.
phewww bullet dodged.Forum: Themes and Templates
In reply to: Template to print all subpagesSomething like this maybe – it might help you go in the right direction.
[Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]
specifically looking at
$subpages = get_pages(array("child_of"=>$post->ID));
and
if ( ($subpages != null) && ($page->ID == $post->ID) ):
If you want to keep the same look…
Create you DIV to be
#main-header { width: 1000px; height: 288px; background: url('path_to_your_graphic_file'); }
Then in HTML
<div id="main-header"> <nav>navigational link stuff...</nav> </div>
Are you able to, and do you know how to edit the HTML of this template?
To get this to work properly I would edit the HTML and apply some light CSS.
How I would approach it, I would make the whole header be its own DIV. Make the div background be the yellow bar graphic thing (this doesnt need to be clickable in my mind). Then have the “Heritage protection Group” be its own stand alone graphic that is also an anchor link.
Then just place the Navigation Link inside that same Header DIV and easily position it where you want it with CSS.
Forum: Themes and Templates
In reply to: Theme Fancy – Title ColousI would have to see that themes CSS to know what the selectors are. Or you could post a link to your site ??
but you will be looking to change the CSS to this essentially.
h1 { color: #0004F9; } h1:hover { color: #FE0059; }
or instead of h1 it might be labeled as “a.title” for example. I’m not sure, you gotta find it in the CSS where the title color is applied, then add a similar Hover statement as I showed. Hope this points you in the right direction.
Forum: Themes and Templates
In reply to: Remove page title from actual pageNot sure if I follow exactly what you mean by building a new page… But its likely that the old pages just simply choose a custom page template.
When you go into edit a page look on the right sidebar at “Page Attributes” just below the “publish” button.
You should see “Template” with a drop down menu. Try choosing any custom templates it has to offer. One of those should be like the old templates and will not have the H1 coded into the HTML. Hope that helps.
Forum: Plugins
In reply to: How to add Fast Secure Contact Forms into the template?interesting, I just used a wp_query like so
<?php $newsletter = new WP_Query( 'page_id=77' ); while ($newsletter->have_posts()) : $newsletter->the_post(); ?> <?php the_content(); ?> <?php endwhile; wp_reset_query(); ?>
and it called the form correctly.
So it works, yay. In the meantime if someone knows how to add the form DIRECTLY into the template I would still like to know! thanks again.
Forum: Themes and Templates
In reply to: Black Strip Footer & Home RemovalI’m not familiar with the theme, can you post a link to your page or something? I cant find that theme in the extend section either. So I’m assuming you got the theme from somewhere else probably…
Forum: Fixing WordPress
In reply to: Display the_content(); for a post_id outside WP LoopIs it possible? of course.
Sounds like you want the content to load into the div without the page refreshing though right? That would take javascript, something I’m not very good at.
Forum: Themes and Templates
In reply to: Basic question about pages – Or so I thought….ehh I found out making them private makes the content invisible too…
So I guess technically it shouldnt matter if people visit that page directly, big deal right?
what about search engines indexing it though, how do I stop that?
Forum: Themes and Templates
In reply to: Basic question about pages – Or so I thought….thank you alchymyth!
Some reason nothing made sense when I went through the codex on my own… But with your suggestion I used wp_query(‘page_id=7’) and it worked perfectly… It even allowed me to use edit_post_link on the chunk of content. Perfect.
One more follow up question. Since these pages are not intended to be visited or viewed on their own but rather just included in a template as a chunk of content, what should I to make them less visible or “page like”? I already set them as private but I’m not entirely sure what that accomplishes, besides the obvious.
Thanks again for coming to my aid. Obviously i needed someone to just point me in the right direction.
Forum: Fixing WordPress
In reply to: posts or pages? – a question for CMS minded peopleno thoughts on this?
another thing to consider is my posts are permalinked simply as /%postname%/ so maybe I should try and avoid too many pages and just use posts?
Forum: Fixing WordPress
In reply to: Basic question: users commenting on your blogAwesome thanks guys. I knew it had to be some kind of global account setup.
??
Forum: Fixing WordPress
In reply to: get_posts where category is equal to…grr ok I figured it out.
the codex said to use ‘category’
but only ‘category_name’ would actually work. Ok got it. Thanks guys.
Forum: Fixing WordPress
In reply to: how to align bullets with textohh you’re talking about the veritcal alignment, sorry duh.
Just add this in your style sheet, play around with it if needed.
ol, ul { padding-left: 15px; }
note you should find the css selector ol, ul already in the sheet. just add in the padding.