Durgé Seerden
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Archive posts page and next/prev links: Help Please!!This is because you use query_posts.
You have to use a “hack” to fix it if you want to keep using query_posts.But in the above code i can’t see a reasen why you shoudn’t use the wordpress loop wich is the defealt. Then your prev and next buttons will work.
Greetz,
Durgé
Dimics.comForum: Themes and Templates
In reply to: Header and such. Need desperate help.There are many ways to do this. I will give you some options with some links for tutorials, for other tutorials to use these techniques google is you best friend xD
-custom fields: https://www.tutorial9.net/web-tutorials/add-thumbnails-to-wordpress-with-custom-fields/
(has to be inside the loop).
-javascript to swap image on different page
-custom template page:https://codex.www.ads-software.com/Pages#Creating_Your_Own_Page_Templates
-and many othersI hope this will help you further.
Greetz,
Durgé
Dimics.comForum: Themes and Templates
In reply to: Trouble defining a table CSSLol didn’t see that ;p
Forum: Themes and Templates
In reply to: Trouble defining a table CSSI didn’t dive in to your code but there are mistakes in the code above.
Close each line witdh a ;
Check if that solves your problem else you could post a link so i can take a look at the code.
Greetz,
Durgé
Dimics.comForum: Themes and Templates
In reply to: Minimal Set of Template FilesI would recommendt using header.php, footer.php and if u use a sidebar sidebar.php and include them in all of your files. Then just use the template files you need. If a single page needs a other structure then the index.php create page.php, if a single post needs different structure use single.php and so on.
Just use the files that you need there is no point in having a page.php if it’s exactly the same as index.php.
Hope this will help you further.
Greetz,
Durgé
Dimics.comForum: Themes and Templates
In reply to: Remove widgets from other pagesIf you want to remove the whole sidebar just remove the
<?php get_sidebar(); ?>
tag from your single.php and page.php files.Greetz,
Durgé
Dimics.comForum: Themes and Templates
In reply to: Inove: Change position of the headerlol i was typing while you solved it! xD
Forum: Themes and Templates
In reply to: Inove: Change position of the headerDid you try setting the margin-top to 0?
If not try add:.banner(your banner selector){ margin-top:0; }
to your style.css
Greetz,
Durgé
Dimics.comForum: Themes and Templates
In reply to: Header and such. Need desperate help.How do you change the image? php/javascript/…
Maybe you can post the code that you use to change/display it.For the blank line add
margin-top:0;
tobody
in your style.css:
change:body { background-image:url(images/grad/bakgrund.png); background-repeat:repeat-x; background-color:#bfbfbf; }
to:
body { background-image:url(images/grad/bakgrund.png); background-repeat:repeat-x; background-color:#bfbfbf; margin-top:0; }
This will clear the defealt top margin.
Greetz,
Durgé
Dimics.comForum: Themes and Templates
In reply to: posts_nav_link() and query_posts() problemIf I may ask, why do you use
query_posts()
instead of the loop?I think if you would just use the loop, you could copy paste it from the default theme you’re not into coding and modify it so it will work in you theme, the problems will be solved.
Greetz,
Durgé
Dimics.comForum: Your WordPress
In reply to: Dimics.com | Tutorial siteForum: Themes and Templates
In reply to: Override plugin css with theme cssheader.php
Forum: Themes and Templates
In reply to: Why is it saying #000 isn’t a font color?!The error is not for the color: use color:#00 instead of font-color wich doesnt excists.
Greetz,
Durgé
Dimics.comForum: Fixing WordPress
In reply to: ‘read more’ links in postsThe more tag only default only works on the homepage. But there is a fix:
https://wphackr.com/read-more-link-on-wordpress-pages/You could also just use
the_excerpt()
, this will show a limited number of words (55) or show the text you’ve put in the Excerpt panel on the post edit page.Durgé
Dimics.comForum: Themes and Templates
In reply to: Override plugin css with theme cssTry to define the theme stylesheet later then the ajaxcomments:
<link medi.... ajaxcomments.css" /> <link medi.... style.css" />
Greetz,
Durgé
Dimics.com