mvanboordt
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Edit the ExcerptYeah tried that but the Exerpt will not be for a post but for a page.
I have a snippet text which will link to the complete page.
With some PHP in my functions.php file I could get the excerpt panel in the edit page but can’t seem to get it working.Forum: Themes and Templates
In reply to: Edit the Excerptsorry I don’t get that?!
Forum: Themes and Templates
In reply to: Edit the ExcerptYeah and how would I do that?
Technically speaking ??
Forum: Themes and Templates
In reply to: Edit the contentJust came to my attention that the shortcode in the gallary will not be the answer. I have used the gallary in places where I don’t want the title.
Question change:
I would like to split up the_content();
I’m using shorttags for a gallery.The thing I would like to create is the following:
the shorttag
the title
the contentThe shorttag is in the content so automaticly it shows the following output:
the title
the shorttag
the contentWhich means that the title is above the gallery.
How an I split up the content so that I have my title underneath my gallery?
Thnx in advance.
Forum: Themes and Templates
In reply to: Edit the contentI just found the piece where the shorttag is being made:
[39 lines of 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]
No I need to find a way to add the_title();
But when I try to it doesn’t give me an error but just doesn’t showForum: Themes and Templates
In reply to: Edit the contentIt’s not in my functions.php file because it’s a plugin!
However I tried to find it in the plugin but it’s nowhere I can see it.
Forum: Themes and Templates
In reply to: Edit the contentOk that might be an idea but the place where I need to eddit that is based on JS.
I can’t work with JS(yet) so I don’t really know where to look or edit.
??
Isn’t there a way to slice up the_content():?
Forum: Themes and Templates
In reply to: separating the_contentHi,
The slider I’m using is from codecanyon.net
Link: Here
I was thinking to add some div and css to the code of the slider (I think that was what you ment)
Thnx for the reply
[topic closed as duplicate – please continue with https://www.ads-software.com/support/topic/edit-the-content?replies=6 ]
Forum: Themes and Templates
In reply to: separating the_contentYeah I could make the CSS inline with the shortcode but my client can’t ??
So I want to add the CSS to the stylesheet and make them count for all.
The slider doesn’t provide HTML elements to be styled.
Forum: Themes and Templates
In reply to: Auto width on heightIt’s been a week and I think I searched half the internet for this one.
Anyone who might have a solution for me?
Forum: Themes and Templates
In reply to: Auto width on heightSorry the link you send doesn’t include my answer.
I allready know the with and height of the image because I told my PHP what it was.
The trick is now to only set the height of 216px and scale the width in proportion.
When somebody uploads a portrait picture it should display it in portrait and not stretched out.
Forum: Themes and Templates
In reply to: Odd or EvenOk thanks.
I’m familiar with pseudo selectors but not with nth-child in particular. Will have al look and keep it in mind for future projects.
Thnx guys
Forum: Themes and Templates
In reply to: Odd or EvenDude….!!!
You are…. The man!!!
Thank you so much.
I did some minor adjustments.
After the<div class="container_page"
and before<?php...
there is a space which gives the CSS a space. That way it won’t work.
So I deleted the space and created two CSS for odd and even.It works like a charm
Forum: Themes and Templates
In reply to: Odd or EvenThnx.
I’ve tried it but it gives an blank page.
When I look in my file Dreamweaver gives an error-codehinting in this line:<div class="container_page <?php if($oddeven%2 = 0) echo 'odd'; else echo 'even'; $oddeven++; ?>">
Not sure where the mistake is but I’ll try to figure it out!
Forum: Themes and Templates
In reply to: Odd or EvenThe thing is that it should float left and right because I can’t have a right margin at the second container.
Take a look here.
(Sorry I can’t provide the link ?? I wish I could but…. Legal issues)
ImageThe space on the right of the green container is supposed to be between the containers. If I use a margin-right on the green container it would’t fit because the left container should be at the far left end and the right container should be on the far right end.
The script only display’s the subpages of the main page. Which means that there is only “one” script that loads all the subpages.Therefor I wanted to create an odd and even loop so that I could give the pages odd and even numbers and show them in their own loop. That way I can set my CSS to margin-right on the left container.
M.