Questions tagged [split]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
37 views

Custom fields: Split data from single custom field's sub-array to separate custom fields when saving post

TLDR; I’m using a plugin that stores its custom field data in a sub-array, and I would like to save parts of the data from the sub-array to separate custom fields when a post gets saved. In my case, ...
physalis's user avatar
  • 310
0 votes
0 answers
35 views

How is the Page Splitting implemented in the theme?

I am studying how the page splitting is implemented, after inserting in the post. Currently in my theme, all split pages will show the content of the first page. So I think the issue comes from the ...
alancc's user avatar
  • 41
0 votes
0 answers
241 views

Why the page number does not appear in splitting post?

I just follow the instructions in https://www.wpbeginner.com/wp-tutorials/how-to-split-wordpress-posts-into-multiple-pages/#without-plugin to split a large post into several pages. However, after ...
alancc's user avatar
  • 41
0 votes
1 answer
297 views

Retrieve posts inside foundation tabs and tab-content split by 3 per row

<?php /* Template Name: Page information */ get_header(); ?> <div class="row"> <div class="main-wrap" role="main"> <?php do_action( 'foundationpress_before_content' ); ?&...
Tim Wolf's user avatar
0 votes
1 answer
24 views

Segregating content in a blog for 2 different readers

I'd like to have a blog that covers two topics, mathematics and interactive fiction. However, because the mathematics is more serious, for my job, I'd like to hide the interactive fiction when the ...
Brian Rushton's user avatar
0 votes
1 answer
484 views

Change single.php template based on parent category

I have the following code working but with split() being depreciated and not available in php 7, I need some help. The idea here is this code is inserted in my single.php (in child theme). When a ...
rezon8dev's user avatar
0 votes
1 answer
30 views

<a> with PHP within splits the link

I've finally found out how to call a the project-type in a link so the link changes depending on which page it shows. This is the code: <h3 class="widget-title"> <a href="../">Terug ...
ginobrugman's user avatar
0 votes
1 answer
90 views

A/B test options at the widget level [closed]

I am looking for a method to show 1 of 3 different widgets on my site's homepage. I could do this with javascript, but this would increase page weight and I would rather do it at time of render (...
Jason's user avatar
  • 681
0 votes
2 answers
2k views

Split database on large site?

What will be best way to split large database on single site, not multi-site wp installation? HyperDB is maybe for this (just, less than 10 webmasters managed to figure out how to install it, ...
Advanced SEO's user avatar
0 votes
0 answers
321 views

inserting <--!pagebreak--> every 200 characters automatically

:) I'm trying to split a post in pages at every 200 characters with <!--nextpage--> I found this code on this page that actually looks pretty good (for my understanding alone - yes I'm a ...
caroslash's user avatar
0 votes
2 answers
261 views

Multiple loops for custom post type to spread data across rows

How do I split the values within a custom post type loop so that the title is in the first loop which outputs in the first DIV and the content is in the second loop outputting in the second DIV? Two ...
Amesey's user avatar
  • 125
9 votes
1 answer
16k views

What is the difference between $paged and $page?

I'm creating pagination for my site. Hope everyone can explain to me what below code used for? Thanks in advance. <?php if ( get_query_var('paged') ) { $paged = get_query_var('paged'); } ...
Hung PD's user avatar
  • 297
0 votes
1 answer
43 views

Available methods for a/b testing the content

I've been looking around for split testing solutions for wordpress and most answers point to the now-outdated shrimptest plugin. I'm not really interested in using a plugin anyway, unless I write it ...
Jon Mitten's user avatar
-2 votes
2 answers
559 views

How to split the loop every 2 and 5 results? [closed]

im trying to display my WP loop with this layout: (POST 1) (POST 2)/ (POST 3) (POST 4) (POST 5)/ (POST 6) (POST 7)/ (POST 8) (POST 9) (POST 10) and so goes on. Any ideas? Thank you very much.
Night's user avatar
  • 11
1 vote
1 answer
873 views

Redirect to page 2 after comment

I would like to have commenters going to the page 2 of a paginated post. My posts are separated by the <!--more--> tag so i have the www.site.com/post-title and www.site.com/post-title/2/. I ...
lu-bhz's user avatar
  • 78
0 votes
1 answer
3k views

How to split the Wordpress database?

I have a site that is used to log client and meal information. It is based on Wordpress, but has quite a bit of custom code. We have custom taxonomies set for the client and meal data. Our problem ...
Justin's user avatar
  • 1
0 votes
0 answers
419 views

Programmatically Split A Post Into Multiple Pages

We all know that when you're creating a standard post in WordPress you can split the post into multiple pages by adding this code into the text body: <!--nextpage--> Is it possible to split a ...
edcs's user avatar
  • 134
1 vote
2 answers
981 views

Split Blog Into Two Sections?

Alright, so this is my vision for a website I am currently looking to relaunch... As of right now, my site's blog consists of posts in the form of products linking to Amazon via WP Zon Builder (plugin)...
David Di Franco Jr.'s user avatar
0 votes
1 answer
247 views

How to stop unwanted splits in excerpts when using shortcodes for sliders or players

Am using this code in functions.php: Issue with enabling formatting in excerpts in Wordpress to allow shortcodes, javascript and formatting in the excerpt - works great, thanks. However, I am also ...
Sug Mon Kooky's user avatar
2 votes
3 answers
4k views

Divide Post content into separate divs for every 500 characters (or any other character counts)

What is the best method for intercepting the_content of a post (for a single post page) and dividing the_content into sections of 500 characters (or any other number of characters), and then ...
user2655393's user avatar
0 votes
1 answer
180 views

Split function "the_tags" in 2 columns

I have the following function that returns the tags of the current post: <?php the_tags( '<ul> <li>', '</ li> <li>', '</ li> </ ul>' ); ?> Example: Is ...
BobGCA2's user avatar
  • 317
0 votes
2 answers
108 views

How to split authors?

I have 3 authors, each of us talk about the same subject but in a different mind/opinion. I want to have 3 pages for each of us and show ONLY the posts for each author one them. Like have a page ...
Jake's user avatar
  • 1
1 vote
1 answer
435 views

How can I create a Bible search engine via WordPress? [closed]

I have some translations of Bible in Turkish language. But, they are as of books. (Matthew, Mark, Luke, John... ) I uploaded them into a website which is being managed by a wordpress software. http:/...
kapkan's user avatar
  • 19
4 votes
1 answer
2k views

Split content into multiple columns using more tag?

First of, this is pretty much an exact duplicate of: Split columns into three+ divs? But the given solution does not work (returns blank). I'm guessing it collides with qTranslate which adds some ...
qwerty's user avatar
  • 665
1 vote
1 answer
136 views

A/B testing of posts with unique URLs for each variant AND editing in custom fields

I'm wondering if anyone could offer advice on how to think about creating an A/B testing plugin for posts that: A) lets me assign unique URLs for each variant post**1) and** B) is customizable on ...
Linda's user avatar
  • 219
6 votes
2 answers
289 views

Creating Unique Post URLs for A/B Testing... Is this even possible?

I want to create a WordPress plugin that allows me to do A/B testing for WordPress standard posts, but I can't use the Shrimptest plugin because I need a spin: Since I'm ultimately testing ...
Linda's user avatar
  • 219
2 votes
1 answer
1k views

Split a database will improve performance?

Hi to all I'm running a Wordpress MS installation and I would like to move a couple of heavy "sub" blogs on a different DB, will it encrease my performances? Actually I'm on a dedicated server with ...
Downloadtaky's user avatar
5 votes
2 answers
3k views

How i can i add a split button or list box to the WordPress TinyMCE instance

I have added a custom button to the tinymce to insert my shortcodes, but I have so many and I want to make a splitbutton instead and I can't figure how. Anyone can help. Here's the code that I've used ...
Gina Alessia's user avatar