Forum Replies Created

Viewing 15 replies - 1 through 15 (of 59 total)
  • I noticed that, but now I cant find your page any more, katijah.
    Where do you have it now?

    Forum: Fixing WordPress
    In reply to: Categories, how?
    Thread Starter umm

    (@umm)

    I wasnt thinking about changing the flag but rather thinking about changing the script for the function.

    Who got anyway the idea to make Pages as posts?
    For Pages I would have created an entirely new table.
    Pages should not be posts.
    Well, for now they are.

    Forum: Fixing WordPress
    In reply to: Categories, how?
    Thread Starter umm

    (@umm)

    Oh, OK,
    there is that static flag….
    good to know….
    That can surely be overcome ??

    Forum: Fixing WordPress
    In reply to: Categories, how?
    Thread Starter umm

    (@umm)

    Interesting.
    Why should a Page be considered similar to a single Post?

    The ‘the_content’ must then somewhere check out: is it a single entry or not.
    But that is not contained in the script.

    Even more strange seems to me this script which I found in the original of the POST template of the single entries:

    the_content(‘<p class=”serif”>Read the rest of this entry »’

    That would not make sense at all if single entries should NEVER show the more… link.
    Why that unnecessary complication with: ‘<p class=”serif”>Read the rest of this entry »’ ???

    Forum: Fixing WordPress
    In reply to: Categories, how?
    Thread Starter umm

    (@umm)

    Why the more should be displayed???
    because I have put in:
    PHP…the_content(‘more…’);….
    seems that the_content is accepted and carried out, but not the ‘more…’ in the brackets.

    usage of ‘the_content’:
    the_content(‘more_link_text’, strip_teaser, ‘more_file’);

    Why would it work in the mainpage, in the category but not on a page?
    Any explanation?

    The function ‘the_content’ has been declared as expected but it is not carried out as expected.

    Its a simple DIV tag.

    I tried to post DIV tags and HTML examples here, but they get interpreted by the system and dont look nice.

    so I have posted the HTML here:
    https://umm-pur.com/forum/index.php?act=ST&f=12&t=228
    for the DIV: maybe you have to fine tune its position so that it appears where you need it.

    in your ADMIN panel….presentation….theme editor…..post template.

    Go first into the page template and see how they get the sidebar in nearly at the end of the file.
    then you take that and paste it into the post template.

    I also had the problem of not having a back button inside my post template.
    So I have just put in a DIV tag into the POST template.

    You could do that,
    Then You would have to put a
    PHPcode: get_sidebar(); into the POST Template and you would have to change the class from widecolumn to narrowcolumn.

    Forum: Fixing WordPress
    In reply to: Categories, how?
    Thread Starter umm

    (@umm)

    I just found that is_home() works fine, but if I want to check if I am on a page, then “is_page()” does not work at all.

    I tried if (is_page()){}…if (is_page(‘anumber’)){}…if (is_page(‘theblogtitle’)){}
    nothing works.

    Guess another bug?

    Forum: Fixing WordPress
    In reply to: Categories, how?
    Thread Starter umm

    (@umm)

    Hi Moshu.
    I have inserted the MORE tag into the post I have made.
    On the main page it works fine.

    Exactlt the same script for the “Page” does not work. Here the ‘more…’ is not inserted.

    Now I have to find where the functions are defined.
    Maybe there is a routine which checks where the post is displayed and adds the “more…” only on the mainpage.
    EDITED…I have just tested it in the Categories, also here “the_content(‘more…’);” works fine. It just doesnt work in the “Pages”

    Well, I think its a bug.

    Now I have a look at the category templates.
    Actually I dont want to display ANY posts on the mainpage.
    I want to use the mainpage for other informations and from there People can select a “Page” and come to the blog for the respective ‘category’.

    you can see the blog here:
    https://www.umm-pur.com/wordpress/

    Forum: Fixing WordPress
    In reply to: Categories, how?
    Thread Starter umm

    (@umm)

    No choice,
    I could not put it into the text of the Page.

    Now I have changed the Page Template and there the script works fine.

    EXCEPT

    the parameters of the_content(). Here “the_content(‘more…’) shows the full text instead of the MORE link to see more

    Guess its a WP bug.

    Forum: Fixing WordPress
    In reply to: Categories, how?
    Thread Starter umm

    (@umm)

    My intention is to create a page and then sort posts into the various pages instead of having categories and everything is displayed on the mainpage.

    So, I have made some posts for the category lets say ‘Colombia’. Cat=3
    Then I have made a Colombia ‘Page’ and want to display the excerpts of the posts on the Colombia ‘Page’.

    using query_posts(cat=3)works fine to display the posts of cat=3.

    as soon as I start now with PHP: while (have_posts())….
    endwhile; that creates errors in the RUNPHP plugin.

    Then also PHP stuff like: the_content(‘Read the rest of this entry »’);…doesnt work on Pages. That creates a page with only the header, no more. Everything messed up.

    Forum: Fixing WordPress
    In reply to: Categories, how?
    Thread Starter umm

    (@umm)

    seems as if if – endif while – endwhile doesnt work well
    that always causes errors with WP1.5

    Forum: Fixing WordPress
    In reply to: Categories, how?
    Thread Starter umm

    (@umm)

    hi spencerp
    I have tried out various things now.
    much is working smooth, like putting in calenders.
    Other things are not working at all like putting posts within one category into a ‘Page’.
    That messes everything up.
    Well, guess I’ve got something to play with ??

    Forum: Fixing WordPress
    In reply to: Categories, how?
    Thread Starter umm

    (@umm)

    Thats a good hint,
    thanks a lot.

Viewing 15 replies - 1 through 15 (of 59 total)