Forum Replies Created

Viewing 15 replies - 256 through 270 (of 546 total)
  • Forum: Plugins
    In reply to: Newsletter plugin

    There is a commercial newsletter plugin. I am not saying it’s perfect, as I just bought it and started to use it. Go to shiftthis.net. It costs $30 for a single domain (as many newsletters as you want) and includes the things you mention.

    One drawback I’ve just run into is that it doesn’t deal with future posts. I use the “Future is Now” plugin to list a set of upcoming events (music) so that the event appears in order of date happening and expires 1 day after it happens… the problem is that the st_newsletter plugin doesn’t recognize future posts. bummer.

    It seems like the forums for it are no longer available, either. The plugin author does respond to support email, though.

    Other than that, it does provide a customizable subscription form, customizable email and newsletter display…

    hth

    Thread Starter syncbox

    (@syncbox)

    I figured out that another bit needed commenting out as well for it to work. However, if a WordPress guru wants to show me how to disable the above via a functions.php file, I’d be extremely happy to learn 🙂

    thanks in advance!

    Thread Starter syncbox

    (@syncbox)

    I’ve tried commenting out the bits of code in default-functions.php

    $filters = array('term_description');
    foreach ( $filters as $filter ) {
    	add_filter($filter, 'wptexturize');
    	add_filter($filter, 'convert_chars');
    	add_filter($filter, 'wpautop');
    }

    but it doesn’t seem to fix my issue of wanting to have heading tags in my category descriptions…

    is there an additional bit of code to comment?

    Or, if someone has a ready-to-use function to put in a functions.php file, would you mind sharing? I know it isn’t best to hack the main files.

    However, I don’t have a functions.php file (where does it go?) and have never used one.

    Eager to see how others handle this…

    the only issue I had with my upgrade and conversion is that my category descriptions were borked… I had used html headings in them and those disappeared. The conversion was slightly less successful for these bits of data, leaving  and a couple of other entities in category descriptions, but fixing them all in posts. Weird.

    went fantastically well for me, moving a 2.1x to 2.3.2, no issues at all. THANK YOU g30rg3x!!!

    try using the (is_page()) conditional to echo the script (don’t forget to include the script tags) in your page.php file?

    you are very welcome! I am so often here looking for answers to my own issues and questions that it is nice, when possible, to provide some.

    For anyone answering my questions, my thanks to you!

    they will work. I use the c2c_get_custom() plugin to get the meta data but the big issue is to be sure to logically plan how you are writing the results…

    rather than entering the html associated with the image, just use the file name and in the code calling the field values, add the tag and such…

    for example, using c2c_get_custom plugin, let’s assume I put the image file name “foo.jpg” into a custom key named “post-pic”:

    <?php
    echo c2c_get_custom('post-pic','<img src="/wp-content/themes/mythemesname/images/','" />','','');
    ?>

    if you have several pictures, you’d add several fields (using the same key) and you’d place a space in the 4th parameter to tell WP to show more than one field.

    from the http://www.coffee2code.com website’s information about the plugin:

    function c2c_get_custom ($field, $before=”, $after=”, $none=”, $between=”, $before_last=”)

    * $field : This is the name of the custom field you wish to display
    * $before : The text/HTML to display before all field value(s)
    * $after : The text/HTML to display after all field value(s)
    * $none : The text/HTML to display in place of the field value should no field value exists; if defined as ” and no field value exists, then nothing (including no $before and $after) gets displayed
    * $between : The text/HTML to display between multiple occurrences of the custom field; if defined as “, then only the first instance will be used
    * $before_last : The text to display between the next-to-last and last items listed when multiple occurrences of the custom field; $between MUST be set to something other than ” for this to take effect

    HTH

    hmm.. since you haven’t provided a site to examine, one possibility is that the css for the plugin is being called at the wrong time.

    In default themes, wp_head() is typically called just before the opening body tag… thus, any css associated with a plugin is read AFTER your style.css file

    If you are defining your id or class in style.css, it may not override the default values provided by a plugin author’s style sheet.

    There are three ways to address that… you *could* move wp_head() to before the call to default style sheet (not the best solution, imo) OR

    write your rule in a way that gives it greater specificity AND in a way that provides the more specific values for EVERY property that has values in the plugin’s default style sheet. (the best solution, imo, since it keeps all the custom styling in YOUR style sheet)

    third possibility – edit the plugin’s style sheet. If you do this, keep a backup. AND, imo, just duplicate their properties and values, comment out theirs, and edit yours. That way, if it causes problems, it is easy to go back to the originals – especially if you add notes about what and why you are doing what you are doing.

    The other possible reason you may have problems… if you ARE editing the plugin’s style sheet… is that wp_head() could already be before the default style.css file in the header.php file. (Since sidebar is a selector in that style sheet, whatever is written in the plugin style sheet could be overwritten by this)

    Same goes for if you have sidebar defined two places in style.css… the first instance may actually be more specific than the second..

    Hard to say without being able to see your css.

    HTH

    um, if you don’t understand what I mean by specificity, google css+specificity. basically, the general idea with properties:values goes like this:

    div.bob p.foo {
    color:red;
    }

    p.foo {
    color:blue;
    }

    you’d think that the last value for color would be used… however, the first rule is more specific, therefore, the second value is ignored… assuming all of your paragraphs of the class “foo” are in divs of the class “bob”

    not to suggest you don’t understand this, but some might not.

    um, isn’t this part of the WordPress application already? If you set “anyone can register” and the other writing/discussion/reading/misc options, then users can register and comment per your settings…

    Unless you are wanting something else? Why would you not just use the built-in registration functions?

    I believe you can use the optional “default” parameter to set the value of a field
    per the website: http://www.dagondesign.com/articles/secure-form-mailer-plugin-for-wordpress/

    default – (OPTIONAL) This allows you to specify the default value of a field.

    Example (from the website): type=text|class=fmtext|label=Age|fieldname=fm_age|max=100|
    default=Enter your age!

    I love Aleister’s plugins…

    HTH
    Casey

    please share? I am having trouble showing the child pages of a parent page when on any of the child pages without also displaying the siblings of the parent page (and their children)

    Basically, I want my parent pages in my horizontal top menu (which I have) and the child page list of links in my sidebar (without listing the parents)

    I’d like to do this dynamically (wp_list_pages) (or a plugin function call) so that any added pages don’t require hard code changes to files.

    oh, yeah… using WordPress 2.3.2

    Forum: Fixing WordPress
    In reply to: Order of posts

    nevermind, sorry for wasting bandwidth. I figured out my problems. WHEW… I am glad that it isn’t an issue in 2.3.2!

    I had actually created a custom category.php file for this category, so of course, adding any code failed to work since I added it to the generic category.php file.

    thanks

    Forum: Fixing WordPress
    In reply to: Order of posts

    has anyone found a fix for the 2.3x problem of changing the order whether in a plugin or a query? It just plain ISN’T working anymore. How can such a major difference between versions go A) un-mentioned in the “changes” for 2.3x and B) unfixed for so long, despite NUMEROUS posts about it being broken?

    where is this plugin? The one I’ve found doesn’t contain the first block of code…?

Viewing 15 replies - 256 through 270 (of 546 total)