• Resolved brinksa5man

    (@brinksa5man)


    When I downloaded, installed and activated this plugin the posts_loop_template.php file shows as inactive. I admit to being a newbie. I am trying to find a way to make the blog textareas be transparent. Several of the posts here suggest editing the posts_loop_template.php file. Does this file have to be active for it to work?

    https://www.ads-software.com/plugins/posts-in-page/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Patrick Jackson

    (@pjackson1972)

    Hi brinksa5man,

    Regarding the file showing as inactive, it sounds like you’re referring to WordPress’s built in plugin editor. My understanding is that the active/inactive label used in that case is really only valid if you’re editing the “main” plugin file. In this case that would be the posts_in_page.php file. If the plugin is active, and you go to edit that file, then it should show as active, while all other files in the plugin directory show as inactive. I don’t know what the purpose of this would be, other than to make sure you’re editing an inactive plugin, but I’d say you can safely ignore it.

    A word of advice: as a rule, it’s best to avoid editing plugins directly. Plugin authors often post updates, and those updates may overwrite your changes.

    In the case of this plugin, you can make a copy of the template file, place the copy in your theme directory, and add a “template” attribute to your shortcode with the name of the file. That way you can be sure your custom version of the template isn’t overwritten if the plugin is updated.

    [ic_add_posts template='post_loop_template.php']

    Moving on… you said you want to make the blog textareas transparent. Are you talking about the excerpts (the summary that shows for each blog)?
    Is this something you can do with CSS?
    If I wanted an easy way to make the excerpt go away, one option would be to add the following to the style.css file in your theme:

    .entry-summary {
        display: none;
    }

    Or if you really want it to be transparent, you can set the opacity:

    .entry-summary {
        opacity: 0.25; /* 25% opacity = 75% transparent */
    }

    Does any of that help?

    Thread Starter brinksa5man

    (@brinksa5man)

    Thank you Patrick for your reply. I thought since Posts in Page shows compatibility through WP 3.5.2 and I am on 3.9.1 that there might be some incompatibilities that caused the posts_loop_template.php to become inactive. I will certainly use your comments in the future.

    For now I was able to find the object that was affected in the underlying theme and resolved it by adding some CSS to the child theme.

    Plugin Contributor Patrick Jackson

    (@pjackson1972)

    I’m glad to hear you got that resolved!

    I’m doing some formal testing on the plugin today, so hopefully we’ll update the official compatibility soon.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Post in Page ver. 1.2.4 show inactive file’ is closed to new replies.