GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Wordpress gurus, step inside please (https://gfy.com/showthread.php?t=1117560)

$5 submissions 08-05-2013 05:15 PM

Wordpress gurus, step inside please
 
I am trying to style my <next page> links in WP. However, I am not sure which template file this tutorial http://codex.wordpress.org/Styling_Page-Links is referring to. Anyone know?

If you have fancier 'next page' styling suggestions, I am all ears.

Thanks in advance, guys.

BSleazy 08-05-2013 05:38 PM

Depends on the theme.

Zeiss 08-05-2013 06:21 PM

http://www.wpbeginner.com/wp-themes/...rdpress-theme/ :thumbsup

fris 08-05-2013 07:19 PM

Quote:

Originally Posted by $5 submissions (Post 19747607)
I am trying to style my <next page> links in WP. However, I am not sure which template file this tutorial http://codex.wordpress.org/Styling_Page-Links is referring to. Anyone know?

If you have fancier 'next page' styling suggestions, I am all ears.

Thanks in advance, guys.

use inspect element find the style and add it to your css. wp has defaults for each element.

$5 submissions 08-05-2013 08:58 PM

Quote:

Originally Posted by Zealotry (Post 19747651)

I am looking to break up LARGE POSTS into many smaller pages so I can reduce bounce rate and increase opportunities for reader engagement.

$5 submissions 08-05-2013 09:00 PM

Quote:

Originally Posted by fris (Post 19747703)
use inspect element find the style and add it to your css. wp has defaults for each element.

Hey Fris, what's your Skype or ICQ?

Thanks

Colmike9 08-05-2013 09:56 PM

Quote:

Originally Posted by $5 submissions (Post 19747607)
...I am not sure which template file this tutorial http://codex.wordpress.org/Styling_Page-Links is referring to. Anyone know?

http://codex.wordpress.org/Function_.../wp_link_pages

Quote:

wp_link_pages() is located in wp-includes/post-template.php.
:thumbsup

$5 submissions 08-05-2013 11:50 PM

Quote:

Originally Posted by Colmike7 (Post 19747840)

Thanks Colmike.

Anybody else here use the GENESIS theme?

Anyone know which file in the GENESIS FRAMEWORK this 'wp-includes/post-template.php' is located in? Can't find it.....

Eschaton 08-06-2013 12:20 AM

This is the code for my next/old links. Yours may be different. This is in the "archives" template in the theme editor within wordpress:

Code:

<div class="navigation">
<div class="alignleft"><?php next_posts_link('<img class="alignnone size-full wp-image-3243" title="older-posts" src="CENSORED/wp-content/uploads/older-posts.jpg" alt="" width="248" height="74" />') ?></div>
                        <div class="alignright"><?php previous_posts_link('<img class="alignnone size-full wp-image-3243" title="newer-posts" src="CENSORED/wp-content/uploads/newer-posts.jpg" alt="" width="248" height="74" />') ?></div>
                </div>

I made my own "Older posts" button using blank button graphics I downloaded from somewhere a long time ago. I would probably suggest not using images and find out how to use CSS buttons but either way works aesthetically.

$5 submissions 08-06-2013 12:34 AM

Quote:

Originally Posted by Eschaton (Post 19747897)
This is the code for my next/old links. Yours may be different. This is in the "archives" template in the theme editor within wordpress:

Code:

<div class="navigation">
<div class="alignleft"><?php next_posts_link('<img class="alignnone size-full wp-image-3243" title="older-posts" src="CENSORED/wp-content/uploads/older-posts.jpg" alt="" width="248" height="74" />') ?></div>
                        <div class="alignright"><?php previous_posts_link('<img class="alignnone size-full wp-image-3243" title="newer-posts" src="CENSORED/wp-content/uploads/newer-posts.jpg" alt="" width="248" height="74" />') ?></div>
                </div>

I made my own "Older posts" button using blank button graphics I downloaded from somewhere a long time ago. I would probably suggest not using images and find out how to use CSS buttons but either way works aesthetically.

Thanks for this, Eschaton but the code you shared is for SWITCHING FROM ONE POST TO ANOTHER. I am looking for styling code that enables me to BREAK UP ONE LARGE POST into smaller sections within the post (next page) so I can reduce bounce rate, get more ad views, and keep the reader engaged with video, infographics, and graphics at different parts of an otherwise VERY LONG post.

$5 submissions 08-06-2013 12:36 AM

Specifically, instead of <!--nextpage--> just producing 1 2 3 4 etc, I'd like to style it so it ENGAGES the reader and maybe add some graphics elements ALA Cracked.com and other awesome list sites.

fris 08-06-2013 01:33 AM

Quote:

Originally Posted by $5 submissions (Post 19747901)
Thanks for this, Eschaton but the code you shared is for SWITCHING FROM ONE POST TO ANOTHER. I am looking for styling code that enables me to BREAK UP ONE LARGE POST into smaller sections within the post (next page) so I can reduce bounce rate, get more ad views, and keep the reader engaged with video, infographics, and graphics at different parts of an otherwise VERY LONG post.

if you can give me a little more info i can help you out more, for breaking up the content you can run a filter on the_content to split it up into blocks if you wanted.

HomerSimpson 08-06-2013 03:47 AM

install plugin WP-PageNavi and if you want to modify it's colors, fonts etc... install plugin WP PageNavi Style

fris 08-06-2013 04:02 AM

Quote:

Originally Posted by HomerSimpson (Post 19748037)
install plugin WP-PageNavi and if you want to modify it's colors, fonts etc... install plugin WP PageNavi Style

he actually wants to take the content and split it up

into 3 sections for example.

might want the next link on each block, not sure of the whole situation.

fris 08-06-2013 04:10 AM

this is just rough but you will see what i mean

Code:

function split_content($content) {       
        $content = get_the_content();
        $content = apply_filters('the_content',$content);
        preg_match_all('#<p>(.*)</p>#Us', $content, $m);
        return $m[0][0] . $m[0][1] . $m[0][2];
}

add_filter('the_content','split_content');

will split into 3 paragraphs if you have 3 in your post, obviously you would have to check how many, then you can hook in whatever else is needed, etc.

hit me up and i can get you sorted.

Manfap 08-06-2013 04:11 AM

http://www.wpbeginner.com/wp-tutoria...ultiple-pages/

$5 submissions 08-06-2013 04:30 AM

Quote:

Originally Posted by fris (Post 19748054)
hit me up and i can get you sorted.

Fris, what is your ICQ or other contact info?

Thanks

$5 submissions 08-06-2013 04:36 AM

I am aiming for something along these lines:

http://i.imgur.com/bf39L4E.png

fris 08-06-2013 04:47 AM

Quote:

Originally Posted by $5 submissions (Post 19748090)
I am aiming for something along these lines:

http://i.imgur.com/bf39L4E.png

you would just need to do up your css so you can style the prev/next links, and also to get the page 1 of 2, which isnt hard.

icq 704-299


All times are GMT -7. The time now is 12:29 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123