• nkarafo

    (@nkarafo)


    Hello,
    I would like my posts to be always inside a table (with one or two cells) but without using a plugin with table id, etc.

    Can you please tell me also where I can find the code where the post content is being read so that I can change it a bit?

    Thank you so much for your time and your help!!

    Nikos

Viewing 5 replies - 1 through 5 (of 5 total)
  • esmi

    (@esmi)

    You will need to edit your theme’s template files.

    Thread Starter nkarafo

    (@nkarafo)

    Can you please tell me which file(s) is responsible and where do I have to change the code?

    Thank you.

    Thread Starter nkarafo

    (@nkarafo)

    I would like to have it like the usual (image & text) or (text & image).
    I don’t really mind if it’s the image on the left or on the right. I would like to do something like a template that always stays in this way.

    Here are the two problems.
    The first problem from what I saw today is that in Internet Explorer 8, the first post which has the table, doesn’t show it properly (the table is like a line). On the other hand, in Mozilla Firefox v3 or 4 it shows it perfectly. So, I will have to do a lot of testing before it’s complete. Maybe it’s the theme that it shows it like this but I don’t want to change the theme again. It’s the second time.

    The other problem is that I don’t know which files are responsible for the content of every post in wordpress. I don’t know much of wp. If you could tell me which file and what line I have to change, then it would be very helpful. I could make some tests like I did for a small calendar in the top left corner. I think that the functions.php (not in the theme) is the responsible file but then again, it’s so big and I don’t know where exactly is the code for the content (image & text).

    I found that the file loop.php from the theme is responsible for the below elements (posted under this category, comments) but these don’t help me either for the situation.

    I tried some plugins for tables as well but I have to write down every time the [table-ID number] and it’s somehow awkward because I would like to keep it as user-friendly as I can because a friend of mine will post the news and he doesn’t know much of these “things”. And the other issue is that always I have to manually change the dimensions of the table because it will be over-sized and exceed the normal margins.

    That’s why I want to put a code inside a file to have it always enabled or at least when I will write a new post from the wp-admin to show to me from the start the fixed cells of table or something like that.

    I believe that I don’t request something so difficult to be done ??

    If you could help me, I would really appreciate it!

    Thank you.

    Nikos

    Moderator keesiemeijer

    (@keesiemeijer)

    Please provide a link to your theme.

    Thread Starter nkarafo

    (@nkarafo)

    The site is here:
    https://www.ofelos.gr/_index.php/

    and I would like to do it like this way:
    https://www.keynoteuser.com/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Post inside table (Always – not with plugins)’ is closed to new replies.