Editing specific wordpress category pages

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jscott
    jscizzle
    • Feb 2001
    • 25412

    #1

    Editing specific wordpress category pages

    Anyone know how do you edit wordpress category pages?

    For each category pages i want to have section on top to add adverts or texts.

    I tried with "enhanced category pages" plugin but that doesnt work and seems unsupported now.

    thx
    “If you think tough men are dangerous, wait until you see what weak men are capable of.”
    —Jordan B. Peterson

    Listen to Pomp tell why is Bitcoin important
  • k33n
    Confirmed User
    • Feb 2009
    • 201

    #2
    I think you need custom pages for this.

    Comment

    • Venum
      Confirmed User
      • Nov 2014
      • 182

      #3
      Originally posted by jscott
      Anyone know how do you edit wordpress category pages?

      For each category pages i want to have section on top to add adverts or texts.

      thx
      So every category category specified ad, or same add on all category pages?

      Depends on theme, usually it is category.php file.

      Comment

      • jscott
        jscizzle
        • Feb 2001
        • 25412

        #4
        no no, i want each category to have small section up top for descriptions of each category, possibly some small adverts in there too, each category diff text, diff adverts.

        This plugin works perfectly on my default wordpress theme sites, but does not work with my custom themes
        “If you think tough men are dangerous, wait until you see what weak men are capable of.”
        —Jordan B. Peterson

        Listen to Pomp tell why is Bitcoin important

        Comment

        • catmaster
          Registered User
          • May 2011
          • 2

          #5
          WordPress will search for specific files in your custom WordPress Theme directory to create your category archive pages.
          The hierarchy is fairly simple. For instance, suppose the slug of the Category is news and the Category ID is 6. The Template Hierarchy specifies that WordPress will use the first Template file it finds in your Custom Theme's directory from the following list:
          1. category-slug.php
          2. category-ID.php
          3. category.php
          4. archive.php
          5. index.php


          That is, if you do not have a category-slug.php (lets say category-news.php), WordPress will check for a category-ID.php (like category-6.php), and so on in your custom Wordpress Theme Directory.

          If you need some assistance for any kind of custom modifications please let me know by PM

          Comment

          • jscott
            jscizzle
            • Feb 2001
            • 25412

            #6
            catmaster thanks a lot, this is the kind of stuff that i'd actually prefer custom mods for, hitting you up on PM lil later today

            thank you!
            “If you think tough men are dangerous, wait until you see what weak men are capable of.”
            —Jordan B. Peterson

            Listen to Pomp tell why is Bitcoin important

            Comment

            • just_beginner
              Confirmed User
              • Sep 2004
              • 469

              #7
              Originally posted by jscott
              catmaster thanks a lot, this is the kind of stuff that i'd actually prefer custom mods for, hitting you up on PM lil later today

              thank you!
              More info here https://codex.wordpress.org/Category_Templates

              Comment

              • magneto664
                God Bless You
                • Aug 2014
                • 1470

                #8
                Originally posted by jscott
                For each category pages i want to have section on top to add adverts or texts.
                The best way is a create a widget areas on this space so you can use it after via adverts plugins or simply code from your widget page. or maybe your theme have already widget space on categories.
                magneto664 📧 gmail.com
                Cams.Zone 💘 Best CDN for Adult Content
                My Fav: 👍 Chaturbate 👍 Stripchat 👍 AdultFriendFinder

                Comment

                • BettyBoob1
                  Confirmed User
                  • Mar 2015
                  • 45

                  #9
                  For the descriptions of each category to show on page I went into my category.php file and added this...

                  <?php
                  the_archive_description( '<div class="taxonomy-description">', '</div>' );
                  ?>

                  It worked for me, I just had to play around with where I placed it in the php file. I haven't tried adding any ads but it might be possible if you go to (edit category) for each category you have and add the text you want and ad code into the description field.
                  Nude Cam & Porn List

                  Comment

                  • Colmike9
                    (>^_^)b
                    • Dec 2011
                    • 7230

                    #10
                    Originally posted by BettyBoob1
                    For the descriptions of each category to show on page I went into my category.php file and added this...

                    <?php
                    the_archive_description( '<div class="taxonomy-description">', '</div>' );
                    ?>

                    It worked for me, I just had to play around with where I placed it in the php file. I haven't tried adding any ads but it might be possible if you go to (edit category) for each category you have and add the text you want and ad code into the description field.
                    His theme didn't have category.php lol, but I got it.
                    Join the BEST cam affiliate program on the internet!
                    I've referred over $1.7mil in spending this past year, you should join in.
                    I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..

                    Comment

                    • Smart Fred
                      Confirmed User
                      • Mar 2008
                      • 308

                      #11
                      Originally posted by jscott
                      no no, i want each category to have small section up top for descriptions of each category, possibly some small adverts in there too, each category diff text, diff adverts.

                      This plugin works perfectly on my default wordpress theme sites, but does not work with my custom themes
                      Supposing your categories are pornstars. Do you mean you want to add their bio, vitals, links to Twitter, to their official sites and so on.

                      If yes, PM me your email, I will show you what I was able to do for my sites and how.
                      Stop doing what you like and start doing what brings you money!

                      Comment

                      • jscott
                        jscizzle
                        • Feb 2001
                        • 25412

                        #12
                        yo SmartFred would love to see what you have. Use icq? 130321510 or can pm me if you have time.
                        Thx man
                        “If you think tough men are dangerous, wait until you see what weak men are capable of.”
                        —Jordan B. Peterson

                        Listen to Pomp tell why is Bitcoin important

                        Comment

                        • Smart Fred
                          Confirmed User
                          • Mar 2008
                          • 308

                          #13
                          Originally posted by jscott
                          yo SmartFred would love to see what you have. Use icq? 130321510 or can pm me if you have time.
                          Thx man
                          I got
                          "jscott has exceeded their stored private messages quota and cannot accept further messages until they clear some space."
                          when trying to PM you
                          and I don't use ICQ from a long time
                          Stop doing what you like and start doing what brings you money!

                          Comment

                          • jscott
                            jscizzle
                            • Feb 2001
                            • 25412

                            #14
                            pls try now, damn gfy and their skimpy inbox's!!!
                            “If you think tough men are dangerous, wait until you see what weak men are capable of.”
                            —Jordan B. Peterson

                            Listen to Pomp tell why is Bitcoin important

                            Comment

                            • Smart Fred
                              Confirmed User
                              • Mar 2008
                              • 308

                              #15
                              Originally posted by jscott
                              pls try now, damn gfy and their skimpy inbox's!!!
                              It looks like it worked. PM sent.
                              Stop doing what you like and start doing what brings you money!

                              Comment

                              Working...