I'm having an issue with a template pulling data onto a page when it loads. For example, I have 2 sites (a desktop and mobile version). I'm attempting to pull content from the desktop site pages onto the mobile sites page. So from one template group to another.
However, the problem I'm having is that the URL is being pulled correctly, BUT the content is from the most recent post. The only way I'm able to get more than the most recent post to display is if I set the limit to be greater than 1.
This is the main listing template:
{if '{segment_3}' != ''}
{embed="mobile__site/post"}
{if:else}
{embed="_embeds/_mobile_head" entry_id="{entry_id}" page_title="Blog {if segment_3 != 'category'}{exp:channel:category_heading channel='blog'}- {category_name}{/exp:channel:category_heading}{if:else}{exp:channel:month_links channel='blog'}- {month} {year}{/exp:channel:month_links}{/if}"}
{exp:channel:entries channel="blog" dynamic="yes" orderby="date" sort="desc" limit="4" paginate="bottom"}
<h3><a href="{url_title_path='blog/post'}">{title}</a></h3>
{summary}
{if full_entry !=""}
<p>
<a href="{url_title_path='blog/post'}">Read More...</a>
</p>
{/if}
<div class="posted">
Posted by {author} on {entry_date format='%m/%d'} at {entry_date format='%h:%i %A'} in {categories}<a href="{path='blog'}">{category_name} </a> • {/categories}
<a href="{url_title_path='blog/post'}">Permalink</a>
</div>
{paginate}
Page {current_page} of {total_pages} pages {pagination_links}
{/paginate}
</div>
{/exp:channel:entries}
</div>
</div>
</div>
</div>
{embed="_embeds/_mobile_footer"}
{/if}
And this is the post template:
{exp:channel:entries channel="blog" dynamic="yes" disable="categories|member_data|pagination" limit="1"}
{embed="_embeds/_mobile_head"}
<h3>{title}</h3>
{!--{summary}--}
{full_entry}
<a href="{url_title_path='blog/post'}">Permalink</a>
</div>
</div>
</div>
</div>
</div>
</div>
{embed="_embeds/_mobile_footer"}
{/exp:channel:entries}
EDIT: I make an exact copy of the desktop version in the "mobile" version of the template. It still loads incorrectly. I'm wondering if it's a plugin issue. When I attempted to visit the developers site, it looks like the last time they answered a question was 2012. Can anyone recommend a mobile site plugin that is currently being supported?