nearlythere
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Page not displaying contenti just noticed when i go to your site, then click on the CV page, and rollover the ‘edit’ link i see no post ID.
https://novacaine-industries.com/wp-admin/post.php?action=edit&post=whereas in my own site, i see a post ID at the end of the edit link like:
… wp-admin/post.php?action=edit&post=74did you try editing from that link?
Forum: Fixing WordPress
In reply to: Show subcategories only when browsing categoryControlling the category page:
Have you tried to use a custom category.php template? This will display the parent category, and all of its children. (check the default theme installation, and copy into your theme folder; that one displays titles and excerpts, which you can change with template tags).
https://codex.www.ads-software.com/Category_Templates
https://codex.www.ads-software.com/Template_Tags/I’m stumped on the display for parents only on homepage, but gimme a sec, and i’ll see if i can get something.
seems like it should be easy!
Forum: Themes and Templates
In reply to: Theme’s do not take affektyour website URL is a letter x (lowercase) and it is not a multiplication symbol!
the × is a symbol, and i don’t know how you are getting it into your admin settings. just make sure to type in the letter x!!
you don’t have to change the header, or any of those files.
just make sure to type it in. best of luck!
Forum: Fixing WordPress
In reply to: Changing Permalink Structureths is not a definitive answer, but i don’t think you have to duplicate your database.
you may have to hand-edit your .htaccess file by using 301 redirects. if you have edited your permalinks, you have an .htaccess file in your home directory. and you want to add the new redirects ‘outside’ of wordpress’s own redirect rules.
see this: https://www.cre8asiteforums.com/viewtopic.php?p=139141
yours would be like this:
redirect 301 /year/month/date/slug https://www.you.com/archives/postnumber
see also: https://www.tamingthebeast.net/articles3/spiders-301-redirect.htm
best of luck and pls tell us how you resolve this, since i will have to do this at some stage too!
Forum: Fixing WordPress
In reply to: I just want to add some pictures to blog. How?hello jaskaur,
you need to make sure that directory exists, and then “change the permissions”, using presumably, your FTP software that you uploaded the wordpress files with. i searched and found this in the Codex, (which is more helpful than i could write here).
https://codex.www.ads-software.com/Changing_File_Permissionsalso one thing is, i know it’s hard to be patient with your forum posts… however, if you bump your post or add to it, it makes it harder for others to find your post as unreplied to… see a whole list of unreplied posts: https://www.ads-software.com/support/view/no-replies
and when you resolve it, please come back and click “resolved” above!
best of luck ??
Forum: Fixing WordPress
In reply to: How can I view a post before it’s publish data?you could use another plugin, like futureposts, and it would affect all categories and all templates.
https://www.figby.com/wp-content/futureposts.php.txtthis did my head in until i figured out that since i’m only posting in the future in one category, and my index page is tightly controlled to display only other categories, it’s not a problem for me!
Forum: Fixing WordPress
In reply to: View only comments per post.you can find that included file called “comments.php” … in your theme folder
the default CSS is also loaded with custom classes for displaying comments.
bon chance!
Forum: Themes and Templates
In reply to: Indenting Sub-Categoriesyou want to know how to change the CSS for the children categories:
you need to be using the latest version of wordpress:
Update to the latest 1.5.1.2. and it will work. But there is no need for plugin and/or “something”, just style them in your stylesheet.
https://codex.www.ads-software.com/Styling_Lists_with_CSShttps://www.ads-software.com/support/topic/37246
from: this is fairly oft-asked, so actually there’s loads more if you search for child+indent. but that is the main codex page to go to.
just another: https://www.ads-software.com/support/topic/41841Forum: Themes and Templates
In reply to: Theme’s do not take affektjust looking at your CSS URl, i see a multiplication symbol not a letter ‘x’ :
https://
blogs.0
& #215; 06.net/wp-content/themes/green-marinee/style.css
(i put spaces so the forum here would not convert the symbols to: 0×06
and if i put it into the browser it resolves as:
https://
blogs.0
& #215;06.net/wp-content/themes/green-marinee/style.css
you really want:
https://blogs.0x06.net/wp-content/themes/green-marinee/style.css
check in WP Admin > Options > and change the URL of your site. don’t copy the name, type it in, and see if that fixes things!
ps- please keep in mind those ‘tags’ you put on this post aren’t really tags, so they would probably not help others find your post :/
Forum: Fixing WordPress
In reply to: Post from a different catagory at the top of the catagory pagejudicious use of a category templates and the query_posts() will help you reach your goal. ah… but you also need to use multiple loops so you can continue to display the normal category:
https://codex.www.ads-software.com/Category_Templates
https://codex.www.ads-software.com/Template_Tags/query_posts
https://codex.www.ads-software.com/The_Loop#Multiple_Loopscreate a category.php template, which will be used to display each of your categories. whereever you want to display your headline post place this:
<?php $temp_query = $wp_query; ?>
<?php query_posts('category_name=headline&showposts=1'); ?>
<!-- insert your loop here to display the entry like this simple one below: -->
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a> </h2>
<?php the_content('Read the rest of this entry »'); ?>
<?php endwhile; else : endif; ?>// now back to our regularly scheduled programming
<?php $wp_query = $temp_query; ?>
and you can have the rest be the normal loop you were going to use anyway, and it should all display nicely.
Forum: Fixing WordPress
In reply to: probably easy: date sub-headings?that plugin only works for date archives.
anyway, this seems crazy that you can’t use the date header on non-date archive pages and within the loop to group elements by day, month, etc.. i guess i’m used to the way MT (movable type) use a date header.
here’s how to group by day:
https://codex.www.ads-software.com/User:MCincubus/group_by_dayi modified this to group by month. i’m using mine on a custom category template that is displaying festivals for an entire year. with month sub-headings. so i’ll include the entire loop from the top with the query_posts function, in case it can be of use to anyone.
<?php
$current_year = date('Y');
?><h2 class="pagetitle">Festivals and start dates - <?php echo ($current_year); ?> </h2>
<?php query_posts("cat=23&year=$current_year&order=ASC"); ?>
<?php if (have_posts()) :
$last_month = false;
while (have_posts()) : the_post();
if (!$last_month) {
the_date('F Y', '<h2 class="date"> ','</h2>');
$last_month = get_the_time('F-Y');
} elseif ($last_month != get_the_time('F-Y')) {
the_date('F Y', '<h2 class="date">','</h2>');
$last_month = get_the_time('F-Y');
}
?><!-- entry stuff here -->
<h3><?php the_title(); ?> </h3>
<?php edit_post_link('(edit this) ', '', ''); ?>
<?php the_content(); ?>
Start Time: <?php the_time('j F Y, G:i'); ?>
<?php endwhile; ?>
<?php else : ?><br />
<h2><span>Not Found</span></h2><br />
<?php endif; ?>totally loopy, but it works.
Forum: Fixing WordPress
In reply to: probably easy: date sub-headings?found the plugin here:
found here: https://stevepsharpe.co.uk/sps_archives_v1PR.zip
looks like that developer is using other software. “Powered by EE 1.3” and he’s not officially hosting the plugin anymore. but i’ll give it a try right now.just in case anyone is wondering, yes, i did try the single_month_title(); which would work for anyone who was using date archive pages.
it looks like all date tags only work on date archives? not on category template, etc.
https://codex.www.ads-software.com/Template:Tag_Date_Tagsis that a bug or a feature?
Forum: Requests and Feedback
In reply to: Magazine Permalink Structurego to your WP Admin > Manage > Categories, and it will have the ID listed in the table.
Forum: Requests and Feedback
In reply to: Magazine Permalink Structurei) have you seen the home.php template? this will make a special page just for your home page
https://codex.www.ads-software.com/Template_Hierarchy#The_Main_Pagehere is a very simple homepage that just shows the most recent post (or you can use your sticky post thing) for a specific category:
<?php get_header(); ?>
<?php
$posts = get_posts('numberposts=1&category=2');
foreach($posts as $post) :
?>
<h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
<?php the_content(); ?>
<?php endforeach; ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
and maybe in your contents you link to whichever thing you want to link to.
Forum: Fixing WordPress
In reply to: How use quicktags in other admin fields ?any luck so far?
i stilll don’t have your answer… but some ideas for figuring it out.
1. try changing the value and testing it.
did you try changing the value of the edCanvas to see if it works?
edCanvas = document.getElementById('title');
2. try making a function and testing it.
since it is using getElementBy and sending in a value, there must be someway to have some kind of onclick action to send the value as a variable: through a function in javascript. something like:function edCanvasvalue (id) {
edCanvas = document.getElementById(id);
}
then call the javascript function… try testing it with buttons first
<input type="button" value="Set to title field" onclick="edCanvasvalue('title')">
<input type="button" value="Set to content field" onclick="edCanvasvalue('content')">
then try filling in the form, and see if it set the right fields.
3. try setting the the ID with a getFocus() from form field. this is where i’m a bit unsure…
i’m just making this up, bc i don’t know much javascript.
and hopefully there might be javascript-specific fora to find the answer from others:
try: https://www.codingforums.com/that’s alll not very helpful probably, but i wanted to post it in case you had not thought of trying those things?