• Creator
    Topic
  • #24214

    Harald Röh
    Participant
    Been thanked: 1 time

    Hi,
    I am currently testing the latest evolve-plus version 2.5.1.
    When checking the edit-post-link I saw that you now placed it within the h1-post/page-title, which really looks very akward.
    In version 2.0.1 it was placed within the meta data (between author and comments specification), which is much nicer, as it uses a small character font.
    Can I adjust this that the edit-post-link in 2.5.1 looks like in 2.0.1 again?
    Or will you correct this in the future code?
    Thanks and best regards
    Harald

Viewing 3 replies - 1 through 3 (of 3 total)
Replies
  • Imran
    Spectator
    Post count: 403
    Been thanked: 0 times
    #24221 |

    Hi Harald,

    Thanks for writing in!

    Would you mind providing a little more clarification, or perhaps with some screenshots so that we can take a look into it and provide you with a tailored answer.

    Thank you!

    Harald Röh
    Participant
    Post count: 33
    Been thanked: 1 time
    #24227 |

    Hi Imran,

    in your file page.php line 52-70 it states:

    <h1 class=”entry-title”><?php
    if (get_the_title()) {
    the_title();
    }
    ?>
    <?php if ($evolve_edit_post == “1”) { ?>
    <?php if (current_user_can(‘edit_post’, $post->ID)): ?>
    <?php edit_post_link(__(‘EDIT’, ‘evolve’), ‘<span class=”edit-page edit-attach”>’, ‘</span>’); ?>
    <?php endif; ?>
    <?php } ?>
    </h1>
    <?php endif; ?>

    <?php
    if (has_post_thumbnail()) {
    echo ‘

    ‘;
    the_post_thumbnail(‘post-thumbnail’);
    echo ‘

    ‘;
    }
    ?>

    You should move the ‘edit_post’ section (italic characters above) out of the h1-header.
    Place it after has_post_thumbnail if-section, which follows.
    Doing this, the edit links will be displayed no longer with h1-format, which looks horrible.

    The same applies to the file single.php, where you should place the ‘editpost’ section after the meta data section for author reference.

    The same applies to the homepage which lists the most recent posts. However, I do not see yet where to change this here.

    I hope this clarifies what I am discussing.
    Finally, here is a screen shot of version 2.5.1
    screenshot of version 2.5.1

    The h1-edit-post-link is marked yellow (I use add_filter(‘edit_post_link’) for additional information).

    Here is the same screenshot of version 2.0.1
    version 2.0.1 screenshot
    Here the same edit_post_links are also marked yellow but look much nicer.

    Again, I would like to regain the 2.0.1 format.
    Currently I manually change page.php and single.php, but do not know where to change the entries on the frontpage/homepage.

    Thanks and best regards
    Harald

    Imran
    Spectator
    Post count: 403
    Been thanked: 0 times
    #24228 |

    Hi Harald,

    Thanks for your brief clarification!

    It could be possible with custom development, but this would be outside the scope of support we can provide. You may wish to consult a developer to assist you with this.

    However, I’ll consider it a featured request and will forward to our development team. This way it can be taken into consideration for future development.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.