Site logo

Archived topic

Development tools

5 replies · Started by Philippe on December 30, 2014

Viewing posts 1–6 of 6

Hello Tom,

What Development tools you advise me for creating/edit plugins or theme ?

I use FireBug, Gedit (on linux), FileZilla, Poedit.

I'm beginner on Wordpress that I use since one month.

I read your comments:

http://generatepress.com/forums/topic/blog-paging-pagenavi-styles/

It helped me.

How to integrate a style.css in the plugin that I have created by following your instructions ?

I have created a .css file on my package with this code :

.page-numbers {
      display: none;
}

But it not work. For the moment I have modified the style.css of GP child-theme.

http://generatepress.com/api/themes/generatepress_child.zip

On your GP child-theme, you have not integrated of specific code in fonction.php. Your GP child theme works with or without add code... I do not know if it is necessary or not to add :

add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
function theme_enqueue_styles() {
    wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
    wp_enqueue_style( 'child-style', get_stylesheet_uri(), array( 'parent-style' ) );
}

http://codex.wordpress.org/Child_Themes

Tks by advance

Hi there,

I use all of those, with the addition of Notepad++ for coding.

Your best bet is to just add your CSS to your child theme's style.css file.

No need for that function to enqueue styles - GP takes care of all of that for you.

I found the php editor Geani for linux in French and Gphpedit in English. While both are free :) I love Linux.

If you have time to test Mint 17.1 is much better than Windows except for playing...

1) If I want to run WP-PageNavi without plugin, or do I insert :

add_action('generate_paging_navigation','generate_pagenavi_integration');
function generate_pagenavi_integration()
{
wp_pagenavi();
}

2) And how so to integrate this fonction in a plugin ?

.page-numbers {
      display: none;
}

Tks

Hi there,

1. Yes, you'll want to insert this function into your site. You can use a child theme's functions.php file, or you can a plugin like this: https://wordpress.org/plugins/code-snippets/

2. You can add this code to your child theme's CSS file, or use the plugin in my signature below.

Hope this helps, and Happy New Year!

Awesome! I'm glad I could help :)

This archived topic is closed to new replies.