Forum Replies Created

Viewing 15 replies - 76 through 90 (of 108 total)
  • Thread Starter mvanboordt

    (@mvanboordt)

    Yeah 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.

    Thread Starter mvanboordt

    (@mvanboordt)

    sorry I don’t get that?!

    Thread Starter mvanboordt

    (@mvanboordt)

    Yeah and how would I do that?

    Technically speaking ??

    Thread Starter mvanboordt

    (@mvanboordt)

    Just 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 content

    The shorttag is in the content so automaticly it shows the following output:

    the title
    the shorttag
    the content

    Which 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.

    Thread Starter mvanboordt

    (@mvanboordt)

    I 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 show

    Thread Starter mvanboordt

    (@mvanboordt)

    It’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.

    Thread Starter mvanboordt

    (@mvanboordt)

    Ok 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():?

    Thread Starter mvanboordt

    (@mvanboordt)

    Hi,

    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 ]

    Thread Starter mvanboordt

    (@mvanboordt)

    Yeah 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.

    Thread Starter mvanboordt

    (@mvanboordt)

    It’s been a week and I think I searched half the internet for this one.

    Anyone who might have a solution for me?

    Thread Starter mvanboordt

    (@mvanboordt)

    Sorry 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 Even
    Thread Starter mvanboordt

    (@mvanboordt)

    Ok 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 Even
    Thread Starter mvanboordt

    (@mvanboordt)

    Dude….!!!

    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 Even
    Thread Starter mvanboordt

    (@mvanboordt)

    Thnx.
    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 Even
    Thread Starter mvanboordt

    (@mvanboordt)

    The 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)
    Image

    The 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.

Viewing 15 replies - 76 through 90 (of 108 total)