Forum Replies Created

Viewing 15 replies - 16 through 30 (of 34 total)
  • Thread Starter xmarcos

    (@xmarcos)

    eragle: Thanks for the feedback!, i see you are using the theme already. I will fix the code as soon as i have the time.

    Forum: Your WordPress
    In reply to: Definitely Maybe
    Thread Starter xmarcos

    (@xmarcos)

    I’ve released the base theme of my blog under the name of equiX, here is the releae in english…

    https://www.marcoss.com.ar/dsgn/equix/equix_en/

    Forum: Your WordPress
    In reply to: Definitely Maybe
    Thread Starter xmarcos

    (@xmarcos)

    Ok, finally i get my dsgn site up and runnig so if you want to give it a try go ahead and check it out…

    https://www.marcoss.com.ar/dsgn/equix/equix_en/

    On the first place, the theme switcher is as the name says a switcher so if you have only one the installed what would you switch?!
    Then, you need to add the following code to make the plugin work

    <?php if (function_exists('wp_theme_switcher')) { ?>
    <li>
    <h2><?php _e('Themes'); ?></h2>
    <?php wp_theme_switcher(); ?>
    </li>
    <?php } ?>

    So, that wil ensure you will get the site working even if there is no theme in the theme folder, and of course there is no neeed of kubrick or classic themes because when no theme is in the wp-content/thmes/ the defaul (in the root) is used so just use any theme.

    If you want a working example, i’ve se up a demo blog to try out my new theme, equiX… so check this and you will see demo.wp-themes

    Thread Starter xmarcos

    (@xmarcos)

    gregkendallball If you take a look at the code of the sidebar, you will see the code for displaying pages. Is uncommented by default, because not many people use them yet. But it is tehre as well as the template for them.

    badr Thanks for that, hope you liked.

    If you have te Markdown and/or textile active, turn them off they always change your code.

    xmarcos

    (@xmarcos)

    hesed2: i’m fixing some javascript and cleaning up the code so it may take a few more days before i make the theme available for download.

    xmarcos

    (@xmarcos)

    Yes, good point that is what i had in mind when i re-design my blog… i love the new design and i already made apublic version for alex contest… https://marcoss.com.ar/.
    …design without functionality is not worthed.

    Thread Starter xmarcos

    (@xmarcos)

    Ok, dont get mad is just a question… that is why it is a support forum, right?
    I’m sorry i’ve said it is a bug but i’ve checked all the files and couldn’t find a solution so i asked to check if someone had the same “issue”.
    Anyway, thxs for your time…

    Forum: Your WordPress
    In reply to: Definitely Maybe
    Thread Starter xmarcos

    (@xmarcos)

    Typey: Actually i quit graphic-design when i discovered css… but the logo i made it in Corel Photo-Paint 9 (my old, old friend ?? ).

    Jinsan: Sorry, but i hate the little arrow!

    Rori: don’t get me wrong… kubrick is great, and i have nothing against it, actually i like it and i encouraged all my friends who were just starting to use it due to its flexibility and ease to use.

    xmarcos

    (@xmarcos)

    The code you need to use is the following….

    <div>
    <h2>Last Entry</h2>
    <?php
    $posts = get_posts('numberposts=1');
    foreach ($posts as $post) :
    ?>

    <div class="post">
    <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h3>
    <small><?php the_time('l, F jS, Y') ?></small>

    <div class="entry">
    <?php the_excerpt() ?>
    </div>

    <p class="postmetadata">Posted in <?php the_category(', ') ?></p>

    </div>

    <?php
    endforeach;
    ?>
    </div>

    Where $posts = get_posts('numberposts=1'); is the func that will let you control the number of post to show in below… you can also use offset=0' attribute to skip some of them, defaults to “0” so will show the 1st, 2nd and on…
    But let’s say you want to skip the first, to make a lsit of all recent post except the latest.. you can do this

    <?php
    $posts = get_posts('numberposts=3&offset=1');
    foreach ($posts as $post) :
    ?>

    And will skip the last post, showing the previous 3….

    Hope this solves your problem.

    Forum: Your WordPress
    In reply to: Definitely Maybe
    Thread Starter xmarcos

    (@xmarcos)

    Thx u all for teh feedback!

    andrea_r: I’m gonna make one version for alex’s contest as soon as i can make it xhmtl compilant.

    Lorelle: That was my goal, to make it look big! now is really “grande” eventhough there is a sidebar.

    xmarcos

    (@xmarcos)

    Actually is pretty easy, just add these at the beginning of the page you want the wp_functions to work in….

    <?php
    require(‘blog/wp-blog-header.php’);
    ?>

    Let’s say that your wp is in https://mysite.com/blog/ so, you need to call the “wp-blog-header.php” that will be on the root of wp (/blog/).. and that’s all now the only thing you need to do is use the common wp ffunctions… list_categories, archives, links, etc…

    And you can also call the archives templates by using:
    <?php get_header(); ?>
    <?php get_sidebar(); ?>

    or, if you want the whole site to apear on the index, add define(‘WP_USE_THEMES’, true); so it will look like…

    <?php
    /* Short and sweet */
    define(‘WP_USE_THEMES’, true);
    require(‘blog/wp-blog-header.php’);
    ?>

    Forum: Fixing WordPress
    In reply to: 1.5 Upgrade
    Thread Starter xmarcos

    (@xmarcos)

    Okay now it is solved… somehow my server is adding this <backticks> ?ˉ???? </backticks> to all the files i upload via ftp… so <backticks><?php</backticks> will become <backticks> ?ˉ????<?php</backticks>.
    Thx for the help.

    Forum: Fixing WordPress
    In reply to: 1.5 Upgrade
    Thread Starter xmarcos

    (@xmarcos)

    It was not the plugin, but i modified the file and tested in my localhost and it is working fine… now when i get it to my server the whole thing gets screwed…
    Is there any chance that it may be due to file permissions?

Viewing 15 replies - 16 through 30 (of 34 total)