Forum Replies Created

Viewing 15 replies - 106 through 120 (of 153 total)
  • Thread Starter futurepocket

    (@futurepocket)

    I don’t understand, are you the developer of “Efficient Related Posts”?

    Thread Starter futurepocket

    (@futurepocket)

    Sorry, it didn’t work out actually. I had to modify the efficient posts plugin and add my own style margin to it because there was no styles.css for that plugin, but thanks for the help anyways!

    Thread Starter futurepocket

    (@futurepocket)

    I added the code to the theme styles.css but it didn’t work out. Then I checked out the styles file for the plugin itself, and found this code:

    .socialize-containter{
    	width:auto;
    	padding:10px;
    	vertical-align:top;
    	border: 3px solid #ddd;
    	display:table-cell;
    }

    I tried adding a bottom margin to this, but no luck, still no space between the related posts and the socialize container. Any other ideas?

    Thread Starter futurepocket

    (@futurepocket)

    No no, I want to auto-add a custom field to all posts hereon ONLY if the custom field doesn’t already exist.

    E.g., If I forget to create a custom field called “Image”, then this function should automatically add a custom field called “Image” and auto-insert a default value (which I want to be able to define).

    I’ve checked out the code to auto-add custom fields within posts upon publish:

    add_action('publish_page', 'add_custom_field_automatically');
    add_action('publish_post', 'add_custom_field_automatically');
    function add_custom_field_automatically($post_ID) {
        global $wpdb;
        if(!wp_is_post_revision($post_ID)) {
            add_post_meta($post_ID, 'field-name', 'custom value', true);
        }
    }

    How would I add an IF command within that code to ONLY add the ‘field-name’ and ‘custom-value’ if one doesn’t exist already?

    Thread Starter futurepocket

    (@futurepocket)

    add_action(‘publish_page’, ‘add_custom_field_automatically’);
    add_action(‘publish_post’, ‘add_custom_field_automatically’);
    function add_custom_field_automatically($post_ID) {
    global $wpdb;
    if(!wp_is_post_revision($post_ID)) {
    add_post_meta($post_ID, ‘field-name’, ‘custom value’, true);
    }
    }

    That is the code I basically need, but I am a complete beginner at PHP, so where and how would I add an “if” command in there to only add the custom field if one doesn’t exist already? Thanks!

    That is an extremely customized script, you’d have to get someone to code it for you. There is no straight up plugin available like that at the moment.

    If you upload a image from the image uploader within WordPress, it will automatically allow you to resize the image to 150 x 150. Or if you import it first, and then go to modify it, you can edit the exact size of the image.

    There are multiple plugins available to accomplish this effect. Search for “Custom Login” under Extend –> Plugins.

    Thread Starter futurepocket

    (@futurepocket)

    Hi,
    I figured this out, if you remove this code:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    It should remove the video, hope that helps!

    Forum: Plugins
    In reply to: Pay-Per-View Plugin?
    Thread Starter futurepocket

    (@futurepocket)

    I’m looking for a different plugin now, one which monitors the number of clicks each author has received on the ads on THEIR specific articles and view that information to them in their user panel (e.g., # of clicks and amount of $ earned). Any ideas?

    Forum: Plugins
    In reply to: Google Adsense Plugin
    Thread Starter futurepocket

    (@futurepocket)

    Hi,
    As per my incentives to get writers, I am trying to find a Google AdSense plugin that will show, within the user panel, the amount of ad clicks each author has received on their articles.

    The plugin basically needs to show the number of ad clicks each author has received on THEIR articles… and the amount of money earned from those clicks (for their specific account). This is a multi-author blog. I will be getting paid for ads on the home page, and at the beginning, I will not be taking any money from their ad clicks.

    Perhaps a plugin that will let ME define the amount of money they receive per ad click as well as count the number of ad clicks?

    Is there a plugin like that out there?

    Thanks!

    Forum: Plugins
    In reply to: Pay-Per-View Plugin?
    Thread Starter futurepocket

    (@futurepocket)

    I’ve looked at that one, but it doesn’t seem to work on my blog for some reason.

    Buy a premium theme, or even use a free theme… customize the styles, edit it so it doesn’t look like a basic “WordPress” blog. Have interesting content – that’s the most important part. People come to your blog for the content, your design is what keeps them there.

    “Profi WordPress theme with five colour schemes, two/three columns, six widget areas and tons of functions. Automatic post thumbnail, Featured posts, Control Panel in sidebar, Dropdown page and category menu. Powerfull theme options menu (including: Logo change, Exclude categories feature, Category description, Customizable sidebar layout, great Ads manager, About Me image and text feature, Featured video section, Social Manager).”

    It has customizable sidebars… and you can change it between two/three columns. I don’t exactly get what you want to remove, do you have a link to your website with more specific details on what you’d like to get rid of? Also, for future references, do not post all that code in your post, use pastebin.

    Thread Starter futurepocket

    (@futurepocket)

    Never mind, I realized it’s because the category changes. Do you guys recommend I remove the category from the permalink?

Viewing 15 replies - 106 through 120 (of 153 total)